Cem Aksoylar
e9b0e9a57d
Fix <> and ** operators highlighting
2020-08-12 23:11:43 -07:00
Parasrah
151fe01a5c
fix #3651
...
Similar to Jinja, getting `eex` highlighting in *.ex files
will require users to setup a filetype hook similar to the
following:
hook global WinSetOption filetype=elixir %{
require-module eex
add-highlighter window/eex ref eex
}
This is done both to fix a circular dependency between the `elixir`
and `eex` modules, and avoid polluting `elixir` files with false
positives from `eex` highlighting given `eex` is framework specific
2020-08-12 19:14:27 -06:00
SolitudeSF
328ef122ae
Update keywords and suffixes in nim.kak
2020-08-07 12:59:00 +03:00
Maxime Coste
ba7831035f
Merge remote-tracking branch 'johnisom/crystal-filetype'
2020-08-03 18:57:45 +10:00
John Isom
72f658f896
Replace my implementation of crystal-insert-on-new-line with already-existing ruby one
...
This fixed a weird bug where if you were typing in the top level scope of a
program (no indentation before statements), the `end`s wouldn't be inserted
for you.
2020-08-02 11:39:59 -06:00
John Isom
f59bdc614f
Fix typo in comment
2020-08-02 11:33:56 -06:00
John Isom
fdf38ecc5e
Fix auto indentation for if/case and else
2020-08-02 11:28:27 -06:00
John Isom
6cf39a5f4f
Fix auto indentation for if/case and else
2020-08-02 11:22:28 -06:00
Maxime Coste
616f6bbe9b
Merge remote-tracking branch 'krobelus/fail-on-missing-tools'
2020-08-02 16:50:33 +10:00
Maxime Coste
f60b0a1441
Merge remote-tracking branch 'johnisom/ruby-indentation'
2020-08-02 16:25:07 +10:00
John Isom
8a02bafe0d
Beautify indenting in add-highlighter region for percent literals
2020-08-01 13:54:16 -06:00
John Isom
dee96f8e82
Improve syntax highlighting of Ruby percent literals
...
The syntax highlighting has been broken down into 3 main categories:
string: string, array of words
variable: symbol, array of symbols
meta: regexp, shell execution
2020-08-01 13:37:40 -06:00
John Isom
92558bb675
Add rule for % string literals without bracket/style chars; no recurse yet
...
Becuase %Q^hello^ is a perfectly valid Ruby string literal. Strange, I know.
2020-08-01 13:18:47 -06:00
John Isom
e858df3ca2
Add 'else' to auto deindent/align logic in context of 'case' statement
2020-08-01 12:12:48 -06:00
John Isom
57e9719c25
Add 'else' to auto deindent/align logic in context of 'case' statement
2020-08-01 11:57:38 -06:00
John Isom
322d0659fd
Add 'when' to list of keywords that signifies end for ruby-insert-on-new-line
2020-08-01 11:54:57 -06:00
John Isom
dbb548af2d
Fill in implementation of crystal-insert-on-new-line
2020-08-01 11:46:35 -06:00
John Isom
c36583524c
Reorder definition of 3 indent/insert commands
2020-08-01 11:32:16 -06:00
John Isom
0d4dfbc349
Implement copying comment char (#) and whitespace after it
2020-08-01 11:31:28 -06:00
John Isom
8f0843978e
Beautify indentation of 'crystal-indent-on-char'
2020-08-01 11:19:36 -06:00
John Isom
a6329b4bfc
Fix deindentation of end
to make it go to the right level
2020-08-01 11:18:41 -06:00
John Isom
d6e3c1ff19
Fix deindenting nested blocks/statements
2020-08-01 10:52:26 -06:00
John Isom
145f2db741
Add rule to align 'end' with opening statement
2020-08-01 10:35:34 -06:00
John Isom
0fe71ebada
Add deindentation rule for 'rescue' statement
2020-08-01 10:33:35 -06:00
John Isom
21c083f47c
Add rule to align 'when' to 'case'
2020-08-01 10:32:45 -06:00
John Isom
b7490d853d
Add support for deindenting rescue
statment when part of def
(instead of just begin
)
2020-08-01 10:28:54 -06:00
John Isom
76eadef00b
Add rule to align else/elsif to opening if
2020-08-01 10:27:51 -06:00
John Isom
e84ebfdfab
Replace ') <a-&>' with '1<a-&>'
2020-08-01 10:16:48 -06:00
John Isom
2c382de1e8
Add indenting after starting structure/opening statement
2020-08-01 10:08:47 -06:00
John Isom
ee842da85a
Replace manual whitespace trimming to use function created in prev. commit
2020-08-01 09:59:53 -06:00
John Isom
62ac42bb23
Add 'crystal-trim-indent' command
...
This removes trailing whitespaces from the end of lines
2020-08-01 09:58:21 -06:00
John Isom
783fac3d61
Remove single quotes from 'execute-keys -draft ...' keys
2020-08-01 09:56:02 -06:00
John Isom
0063e4c4f5
Collapse 'try %{ execute-keys ... }' blocks to one line
2020-08-01 09:55:15 -06:00
John Isom
73f5f32385
Wrap all 'indent-on-new-line' commands in 'evaluate-commands -no-hook -draft -itersel'
2020-08-01 09:53:51 -06:00
John Isom
b23a85e747
Beautify percent string literals highlighters spacing/indentation
2020-08-01 09:50:27 -06:00
John Isom
0c591baae3
Add 'crystal-indent-on-char' and 'crystal-insert-on-new-line' hooks and functions
2020-08-01 09:49:53 -06:00
John Isom
591cb83da4
Rename 'crystal-new-line-inserted' to 'crystal-indent-on-new-line'
...
This gives the function clear responsibility, whereas the naming
before was unclear
2020-08-01 09:39:08 -06:00
John Isom
3248f7279c
Deindent everything in the 'provide-module crystal...' block
2020-08-01 09:36:14 -06:00
John Isom
a78b6e6ccb
Change 2-space indentation to 4-space
2020-08-01 09:34:55 -06:00
John Isom
5c124db5d9
Replace cat emojis with section signs
...
Many terminal emulators or fonts don't support the cat emoji, and the section
sign (§) is more semantically correct than a cat.
2020-08-01 09:30:12 -06:00
John Isom
dc378da87f
Add section comments to crystal.kak
2020-08-01 09:27:21 -06:00
John Isom
79fa50dc3e
Add namespacing to crystal hooks
2020-08-01 09:24:06 -06:00
John Isom
c793712318
Fix ruby-indent-on-char
2020-07-31 19:24:19 -06:00
Maxime Coste
5292990a0d
Fix invalid quoting in python.kak
2020-07-31 15:45:34 +10:00
Maxime Coste
8d51a99a3b
Merge remote-tracking branch 'pickfire/rust-highlight'
2020-07-31 07:50:14 +10:00
Kylie McClain
25dafd55fe
asciidoc: Add a highlighters for links
2020-07-30 16:56:56 -04:00
Kylie McClain
a2c378c7b3
asciidoc: Add a highlighter for admonition paragraphs
2020-07-30 16:56:56 -04:00
Kylie McClain
e845495cc3
asciidoc: Add a highlighter for [%options]
2020-07-30 16:56:56 -04:00
Kylie McClain
b52c2a532d
asciidoc: Add support for negated attributes
2020-07-30 16:56:56 -04:00
Kylie McClain
ad2f61f91a
asciidoc: Add a highlighter for list titles
2020-07-30 16:56:56 -04:00
Kylie McClain
04721b8425
asciidoc: Add a highlighter for in-word italics as well
2020-07-30 16:56:52 -04:00
Kylie McClain
a8f3ff21dd
asciidoc: Add a highlighter for attribute referencing
2020-07-30 16:50:33 -04:00
Kylie McClain
41532cd3e0
asciidoc: Add comments for clarity
2020-07-30 16:50:31 -04:00
Kylie McClain
7274092955
asciidoc: Add a highlighter for in-word bolding
2020-07-30 16:46:11 -04:00
Maxime Coste
76f1b7a5f9
Merge remote-tracking branch 'tmccombs/asciidoc-comments'
2020-07-30 21:22:17 +10:00
Maxime Coste
1efeb75e83
Merge remote-tracking branch 'somasis/asciidoc-bullet-fix'
2020-07-30 21:18:57 +10:00
Maxime Coste
55fbdb3606
Merge remote-tracking branch 'johnisom/deindent-closing-braces'
2020-07-30 21:14:37 +10:00
Maxime Coste
b322a1f29c
Merge remote-tracking branch 'krobelus/highlighting'
2020-07-30 21:09:04 +10:00
Maxime Coste
ac24b72f61
Merge remote-tracking branch 'pickfire/patch-1'
2020-07-30 21:07:26 +10:00
Maxime Coste
e4c27df5f5
Merge remote-tracking branch 'krobelus/done-deindent'
2020-07-30 21:07:03 +10:00
Maxime Coste
898945c8db
Merge remote-tracking branch 'krobelus/tmux-terminal-use-client-pane'
2020-07-30 21:05:24 +10:00
John Isom
6258646f41
Fix deindentation in zig.kak
2020-07-29 21:46:51 -06:00
John Isom
4a49868f2c
Fix deindentation in sh.kak
2020-07-29 21:31:21 -06:00
John Isom
085fcc2088
Fix deindentation in scala.kak
2020-07-29 21:25:55 -06:00
John Isom
d5fe3a2b12
Fix deindentation in sass.kak
2020-07-29 21:22:38 -06:00
John Isom
cc30131e16
Fix my issues in gluon.kak
2020-07-29 21:22:20 -06:00
John Isom
6c02f80935
Add indent-on-closing-brace rule to sass.kak
2020-07-29 21:10:43 -06:00
John Isom
e02a3711fa
Fix my issues in gluon.kak
2020-07-29 21:07:43 -06:00
John Isom
d77fe33e9a
Fix my issues in python.kak
2020-07-29 20:45:54 -06:00
John Isom
cf7eab62bd
Fix already-existing error in ragel.kak
2020-07-29 20:41:21 -06:00
John Isom
70d1aa114b
Fix deindentation in protobuf.kak
2020-07-29 20:41:18 -06:00
John Isom
53188e66c7
Fix deindentation in python.kak
2020-07-29 20:41:14 -06:00
John Isom
14514422db
Fix deindentation in ragel.kak
2020-07-29 20:41:05 -06:00
John Isom
858b0dd1c9
Update deindentation in nix.kak
2020-07-29 20:12:54 -06:00
John Isom
5284196cb3
Update deindentation in cue.kak
2020-07-29 17:02:54 -06:00
John Isom
e43981422e
Update deindentation in java.kak
2020-07-29 17:02:50 -06:00
John Isom
9c957167fa
Update deindentation in c-family.kak
2020-07-29 15:14:35 -06:00
John Isom
9560ef3dd5
Update deindentation in gluon.kak
2020-07-29 15:13:36 -06:00
John Isom
1951f19fd8
Update deindentation rule for awk.kak, cabal.kak, go.kak
2020-07-29 15:06:27 -06:00
John Isom
29e94c46e0
Fix already-existing bug in javascript.kak
2020-07-29 15:04:14 -06:00
John Isom
9d4e33c775
Clean up my previous updates
2020-07-29 09:40:58 -06:00
John Isom
bad751197a
Update deindenting in css.kak
2020-07-29 09:35:36 -06:00
John Isom
528feb3422
Update deindenting in dart.kak and javascript.kak
2020-07-29 09:34:29 -06:00
John Isom
4a77566ee6
Update deindenting in cabal.kak
2020-07-29 09:32:43 -06:00
John Isom
21bf092230
Update deindenting in dart.kak
2020-07-29 09:31:20 -06:00
John Isom
2b86826d5a
Fix already-existing error in javascript.kak
2020-07-29 09:28:46 -06:00
John Isom
27705d402f
Update deindenting in javascript.kak
2020-07-29 09:28:32 -06:00
John Isom
f84fd84b26
Update deindenting in json.kak
2020-07-29 09:27:26 -06:00
John Isom
dc4508d05f
Update deindenting in d.kak
2020-07-29 09:07:02 -06:00
John Isom
fb838b9f33
Update deindenting in perl.kak
2020-07-29 08:56:19 -06:00
John Isom
1eb34996e1
Merge branch 'deindent-closing-braces' into HEAD
2020-07-29 08:55:48 -06:00
John Isom
90988f5ee9
Merge commit '84a08982' into HEAD
2020-07-29 08:55:19 -06:00
John Isom
623743e794
Update deindenting in perl.kak
2020-07-29 08:54:19 -06:00
John Isom
ba8fca741c
Update deindenting in kakrc.kak
2020-07-29 08:52:04 -06:00
John Isom
507f799ce4
Fix already-existing bug in perl.kak
2020-07-28 20:52:06 -06:00
John Isom
84a08982db
Update deindenting in perl.kak
2020-07-28 20:51:19 -06:00
John Isom
655c7aad60
Update deindenting in cabal.kak
2020-07-28 20:50:36 -06:00
John Isom
9edbcd4a46
Update deindenting in dart.kak
2020-07-28 20:50:19 -06:00
John Isom
a5a3ce9e1b
Fix already-existing error in php.kak
2020-07-28 20:49:42 -06:00
John Isom
b87b1bd32d
Update deindenting in php.kak
2020-07-28 20:49:17 -06:00
John Isom
2de803ee17
Update deindenting in rust.kak
2020-07-28 20:48:57 -06:00
John Isom
70e68e3064
Update deindenting in php.kak
2020-07-28 16:07:03 -06:00
John Isom
be69d6e173
Update deindenting in latex.kak
2020-07-28 16:06:02 -06:00
John Isom
3bd783c337
Update deindenting in perl.kak
2020-07-28 16:04:35 -06:00
John Isom
8f0b56be1f
Update deindenting in css.kak
2020-07-28 16:03:15 -06:00
John Isom
6cf0856a15
Update deindenting in cabal.kak
2020-07-28 16:02:31 -06:00
John Isom
f3f477aa04
Fix already-existing error in cabal.kak
2020-07-28 16:01:11 -06:00
John Isom
ec48e07b2a
Update deindenting in dart.kak
2020-07-28 15:59:23 -06:00
John Isom
60a1b0cfcb
Update deindenting in javascript.kak
2020-07-28 15:33:20 -06:00
John Isom
d7e9702228
Fix my closer tokens issues in javascript.kak
2020-07-28 15:18:57 -06:00
John Isom
94ab56d123
Fix indentation rule for php.kak
2020-07-28 14:58:42 -06:00
John Isom
85d5f50376
Fix indentation rule for perl.kak
2020-07-28 12:55:21 -06:00
Johannes Altmanninger
7d52bae5cb
rc/x11: failure message when some external tools are missing
...
Addresses #3591
2020-07-28 20:32:56 +02:00
Johannes Altmanninger
6ca51882a1
c-family.kak: fix /**/ being interpreted as javadoc start
2020-07-28 20:32:56 +02:00
Johannes Altmanninger
0fb99f217a
tmux.kak: use TMUX_PANE for tmux-terminal-{horizontal,vertical}
...
In case a user connects to the same Kakoune session from multiple tmux
windows/sessions, this makes the splits appear next to the calling client,
instead the client where the Kakoune session was started.
2020-07-28 20:32:56 +02:00
Johannes Altmanninger
e612f26ec1
rc: conservative comment highlighting for shells
...
Fixes spurious comment highlighting for these examples:
echo \# foo
echo 1#foo
echo 2\ #foo
2020-07-28 20:32:56 +02:00
John Isom
80a5fd2c88
Fix already-existing bug in nix.kak
2020-07-27 21:59:08 -06:00
John Isom
05e8eaac68
Fix indentation rule for nix.kak
2020-07-27 21:58:48 -06:00
John Isom
1d68f8dab9
Fix indentation rule for latex.kak
2020-07-27 21:43:07 -06:00
John Isom
b40a53d26c
Remove extraneous -itersel flag from deindent closing brace after cursor
2020-07-27 21:42:47 -06:00
John Isom
d4fee6b197
Fix indentation for closing chars in kakrc.kak
2020-07-27 21:37:49 -06:00
John Isom
d818ff8ac0
Fix indentation for closing braces in kakrc.kak
...
This fixes %{ }, %< > style, not %| |, %= =, etc
2020-07-27 21:26:17 -06:00
John Isom
fd3716a12b
Fix typo in comment from 9dd292d100
2020-07-27 20:58:25 -06:00
John Isom
01712e7f3c
Change indentation rules in json.kak to be much more intuitive for nested objects
...
As it was before, when you had this (| = cursor):
``` json
{
"foo": {|
}
```
and hit <ret>, this would happen:
``` json
{
"foo": {
|
}
```
when it should have been this:
``` json
{
"foo": {
|
}
```
2020-07-27 20:55:34 -06:00
John Isom
9dd292d100
Fix indentation rule for json.kak
2020-07-27 20:52:35 -06:00
John Isom
8c9afa8a91
Simplify closing brace indentation
...
Edits same line as previous commit. I replaced a complex selection command
with a simple 1-keystroke alternative.
2020-07-27 20:48:10 -06:00
John Isom
f958a318c1
Fix already-existing bug in json.kak
...
When a closing brace or bracket is typed, it should automatically match
indentation with it's opener. Because of an unescaped ']' literal the regexp
didn't work.
2020-07-27 20:47:59 -06:00
John Isom
2044f250ae
Fix indentation rule for javascript.kak
2020-07-27 20:39:44 -06:00
John Isom
cd53d31384
Fix indentation rule for java.kak
2020-07-27 13:50:51 -06:00
John Isom
c0e14b1cfd
Fix existing error regarding indent after opening brace
...
This is in gluon.kak, right above my addition
2020-07-27 13:39:52 -06:00
John Isom
931b90a451
Fix indentation rule for gluon.kak
2020-07-27 13:39:02 -06:00
John Isom
8a079dd82f
Fix indentation rule for d.kak
2020-07-27 13:15:05 -06:00
John Isom
56837aed57
Fix indentation rule for dart.kak
2020-07-27 13:11:32 -06:00
John Isom
1f911f1f8a
Fix indentation rule for cue.kak
2020-07-27 13:09:18 -06:00
John Isom
24afe43cf6
Fix indentation rule for css.kak
2020-07-27 13:06:24 -06:00
John Isom
b57b474f23
Fix indentation rule for cabal.kak
2020-07-27 12:59:15 -06:00
John Isom
0932f3d441
Fix indentation rule for awk.kak
2020-07-27 12:55:25 -06:00
John Isom
9004502049
Update go brace deindenting to handle bad indentation edge case
2020-07-27 12:19:29 -06:00
John Isom
de214d262c
Update rust brace deindenting to handle bad indentation edge case
2020-07-27 12:15:11 -06:00
John Isom
a7567d82c9
Update c-family brace deindenting to handle bad indentation edge case
2020-07-27 12:04:07 -06:00
John Isom
565e3bef1d
Update comment wording for deindentation
2020-07-26 20:46:47 -06:00
John Isom
902f2831d8
Fix indentation rule for go.kak
2020-07-26 20:28:14 -06:00
John Isom
194cb17aae
Fix indentation rule for rust.kak
2020-07-26 20:04:18 -06:00
John Isom
4b35a701c4
Fix indentation rule for c-family.kak
2020-07-26 18:56:53 -06:00
Johannes Altmanninger
35f27030c3
sh.kak: fix don't always deindent around "done"
...
Analogous to #3613
2020-07-25 20:07:18 +02:00
Kylie McClain
600983b7bb
asciidoc: Fix bullet face regular expression
...
Additionally, change the bolding regex to account for this.
Fixes #3605 .
2020-07-23 03:03:13 -04:00
Ivan Tham
1bbc88953e
fix shell fi always deindenting after newline
...
Always align fi to the line before before deindenting it
```
...
test
fi%( )
```
always deindent fi on `o`
2020-07-22 22:27:12 +08:00
Maxime Coste
2df6a57201
Merge remote-tracking branch 'alexherbo2/ruby'
2020-07-21 19:56:43 +10:00
Alex Leferry 2
002e0f8790
Ruby: Better matching of divisions
...
Do not include prefix data in match.
2020-07-20 22:03:27 +02:00
aecepoglu
5396c288a0
ocaml quoted-strings
2020-07-20 13:07:45 +03:00
Maxime Coste
d4962d94ce
Merge remote-tracking branch 'alexherbo2/crystal-style-change'
2020-07-18 14:00:33 +10:00
Maxime Coste
f8c4d7b69a
Merge remote-tracking branch 'alexherbo2/ruby'
2020-07-18 13:54:31 +10:00
Maxime Coste
82a2bcc661
Merge remote-tracking branch 'pickfire/markdown'
2020-07-18 13:52:29 +10:00
Maxime Coste
3aef55be73
Fix highlighting of rgba colors in kakrc
2020-07-18 13:45:27 +10:00
Ivan Tham
34edb1a8e7
Highlight markdown code block with space
2020-07-11 21:06:12 +08:00
Ivan Tham
974684aa68
Improve rust comment closing handling
...
/// foo
///%( )
/// foo
/// %( )
With `c<ret>bar<esc>`,
/// foo
bar
/// foo
///
/// bar
Based on c-family block comment handling, this patch also add rust
block comment indentation.
This affects `o` behavior on empty comment but it allows a way more
efficient way to clear comments.
2020-07-09 23:02:50 +08:00
Alex Leferry 2
2219f0ef78
Ruby: Add support for %{…} percent string literals
2020-07-09 11:24:22 +02:00
Ivan Tham
21c38f37cd
Fix rust character highlight
2020-07-09 00:21:11 +08:00
Ivan Tham
7bd459f774
Fix rust comment end
2020-07-09 00:21:11 +08:00
Ivan Tham
eac5986323
Fix rust doctest non-hidden macro highlight
2020-07-09 00:21:11 +08:00
Ivan Tham
e14cc26f1b
Add default keyword for rust
2020-07-09 00:21:11 +08:00
Ivan Tham
7e09e7fcd5
Update rust rc comment
2020-07-09 00:21:11 +08:00
SolitudeSF
91914a8501
Fix syntax errors.
2020-07-06 14:55:54 +03:00
Simon Fowler
b875a1802c
Implement smarter detection of windowing environments.
...
This patch centralises the loading of windowing environments, in order
to ensure that by default only a single module is loaded, rather than
the current code which can load multiple potentially incompatible
modules; and in order to provide the user with more control over the
loading of windowing modules.
The patch introduces a new str-list option `windowing_modules` which
defines an ordered list of windowing modules to attempt to load. Modules
are loaded in the order specified in the list until a module loads
without error, at which point the process finishes.
When loaded each windowing module tests the environment to determine
whether it should load (e.g. the tmux module tests to see if it's being
run within a tmux session), and if it determines that it should then it
completes its loading without error. If it doesn't detect an appropriate
environment then it returns an error, and the module loading logic tries
the next module.
The user can override the default `windowing_modules` list to specify
their preferred modules (i.e. they can put kitty ahead of tmux if that's
their preference, or they can leave out the x11 modules alltogether). In
addition, if the `windowing_modules` option is an empty list this
bypasses the environment detection logic completely, and allows the
modules to be loaded manually - this allows a user to replace the
windowing module loading logic with their own manual set up.
2020-07-05 22:48:31 +10:00
Thayne McCombs
881c7b9f15
Add comment highlighting and options for asciidoc.
...
Fixes #3068 .
2020-07-04 00:28:51 -06:00
Maxime Coste
1ca1e8fedc
Merge branch 'master' of http://github.com/philgee1981/kakoune
2020-07-03 21:07:04 +10:00
Philman
63c4336a3c
finetuned the :send-text command
...
See discussions on [github](https://github.com/philgee1981/kakoune/pull/1 ) and on [the kakoune message board](https://discuss.kakoune.com/t/trying-to-run-kakoune-repl-with-st-and-dwm/1122/3 )
2020-07-03 06:46:41 +02:00
Maxime Coste
099b83d922
Merge remote-tracking branch 'alexherbo2/eruby'
2020-06-25 21:05:15 +10:00
Maxime Coste
14ba5e38ce
Merge branch 'python_fix_highlight' of https://github.com/m-kru/kakoune
2020-06-25 21:02:52 +10:00
Maxime Coste
f5127f8b22
Merge remote-tracking branch 'lenormf/key-percent'
2020-06-25 20:58:26 +10:00
Maxime Coste
42af5e1f9e
Merge remote-tracking branch 'lenormf/fix-3432'
2020-06-25 20:57:35 +10:00
Maxime Coste
edd0d2d0ef
Merge remote-tracking branch 'eraserhd/more-r7rs-scheme-fixes'
2020-06-25 20:53:12 +10:00
Maxime Coste
b31f3c266f
Merge remote-tracking branch 'ii8/master'
2020-06-25 20:52:52 +10:00
Johannes Altmanninger
7e50bdbf2f
fish.kak: do not treat escaped quotes as region start
...
Just like in sh.kak, for example:
echo \" \\\" this should not be highlighted
2020-06-25 00:28:07 +02:00
Murray Calavera
22a94b9d35
Add highlighters for Standard ML
2020-06-23 19:22:35 +01:00
Jason Felice
c08e676aaf
scheme.kak: fixes for r7rs word characters
...
Was missing _ and @ in various places.
2020-06-17 15:51:47 -04:00
Maxime Coste
8b3696982f
Merge remote-tracking branch 'caksoylar/lint-tools'
2020-06-16 19:10:39 +10:00
Maxime Coste
5c02bb2030
Merge remote-tracking branch 'eraserhd/detect-mime-script-types'
2020-06-16 19:10:01 +10:00
Jason Felice
bdd7ea6a03
Detect text/x-script.* and application/x-* types
2020-06-12 11:29:55 -04:00
Cem Aksoylar
28be53fb39
Make lint.kak utilize toolsclient
2020-06-10 22:39:11 -07:00
Jason Felice
d75792bddd
Improve scheme mode
...
* Add r7rs functions, keywords, etc.
* Add highlighting for decimal, hex, octal, binary constants
* Add missing word characters
* Resolve several issues with word boundaries
2020-06-08 09:17:58 -04:00
Alex Leferry 2
ceb859271f
Add support for eRuby
...
http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
2020-06-03 15:12:51 +02:00
Frank LENORMAND
61366fd1ef
rc man: Handle early window resize
...
If the window gets resized before the `man` command is called, the
hook will error out and display an error.
Fix #3432
2020-06-03 15:47:46 +03:00
Frank LENORMAND
24c5169400
src: Introduce a <percent> named key
...
Similarly to the <semicolon> key, make it easier to write
`:execute-keys` commands by replacing <percent> with `%`.
Highlighters can keep escaping the sign when regular expressions are
not quoted, but built-in scripts that use `%` as an editing primitive
have been modified to use the named key, for clarity.
2020-06-03 15:42:38 +03:00
Maxime Coste
d32d185d48
Merge remote-tracking branch 'pickfire/rust-doctests'
2020-06-02 18:44:53 +10:00
Maxime Coste
d43b6799cf
Merge remote-tracking branch 'pickfire/rust-dedent'
2020-06-02 18:40:09 +10:00
Ivan Tham
12cafe3ed4
Rust dedent { after where clause
2020-06-02 00:26:47 +08:00
Ivan Tham
b1beea8638
Rust indent after standalone where
2020-05-31 18:13:04 +08:00
Ivan Tham
de4b7f3864
Rust indent block comment
2020-05-31 18:07:17 +08:00
Ivan Tham
97c4cb243b
Highlight rust default keyword (specialization)
2020-05-31 17:49:43 +08:00
Ivan Tham
4ccb5fd315
Highlight doc tests in rust
...
Feels a big laggy when system overloaded
2020-05-31 11:47:47 +08:00
Alex Leferry 2
23a428c9af
Crystal: Slight style change
2020-05-30 23:10:22 +02:00
Michał Kruszewski
7661e67551
Fix python attributes highlight.
2020-05-30 16:47:32 +02:00
Ivan Tham
479790633b
Fix rust reference url
2020-05-30 19:23:55 +08:00
Ivan Tham
dd3257e3f2
Rust take indentation before comment to next line
2020-05-30 10:54:55 +08:00
Ivan Tham
7c791f130c
Handle dedent in rust syntax
...
Naively handle dedent after , and ; which works most of the cases but
does not work with multi level dedent.
2020-05-30 10:54:55 +08:00
Maxime Coste
321facb594
Merge remote-tracking branch 'Anfid/lua-fixes'
2020-05-30 09:29:48 +10:00
Maxime Coste
1a185f5d6f
Merge remote-tracking branch 'Phlogistique/eex'
2020-05-30 09:25:19 +10:00
Maxime Coste
3589791670
Merge remote-tracking branch 'Guest0x0/master'
2020-05-30 09:24:25 +10:00
Maxime Coste
d1f4b44655
Merge remote-tracking branch 'lenormf/fix-ini'
2020-05-30 09:22:37 +10:00