Cormac Stephenson
710f121a54
d.kak: highlight nested block comments recursively
...
https://dlang.org/spec/lex.html#comment
2021-04-06 13:45:04 +01:00
Maxime Coste
212242cc60
Slight cleanup of the c-family highlighters
...
* Extract raw strings to the C++ specific section
* Merge different documetnation comment formats in single regions
2021-03-31 21:24:45 +11:00
Maxime Coste
c507863a00
Merge remote-tracking branch 'Eluminae/wayland'
2021-03-23 21:50:27 +11:00
Maxime Coste
d8fbe3105d
Merge branch 'lua-auto-indent-improvement' of http://github.com/cipharius/kakoune
2021-03-23 19:57:46 +11:00
cipharius
78a0b5e4c7
Improves Lua auto indent and end insertion
...
Current solution makes it difficult to use common Lua practices of having one-liner if statements and using anonymous functions.
New solution prevents auto-indentation and end insertion, if the previous line contains an "end" keyword.
It does not attempt to match each structure with corresponding end, since using multiple end keywords in single line is a very rare occurance in Lua.
2021-03-23 10:36:05 +02:00
Reed Wade
feab20260a
Permit usage on wayland environments.
...
Some wayland wm will not setup a DISPLAY environment variable. Kakoune
should allow x11 windowing toolkit for those wm also.
2021-03-21 13:41:40 +01:00
Lennard Hofmann
8d24041c1a
rc markdown: Fix HTML highlighting in inline code
...
Because the HTML highlighter was higher up in the hierarchy than the code
highlighter, it took precedence. I fixed it by making it an inline region.
Using my new knowledge of "inline" I was able to remove one line of code.
Fixes #4091
2021-03-21 09:52:00 +01:00
SeerLite
c0e8dceb5d
js: Highlight special variables at start of file
2021-03-17 23:59:05 -03:00
Maxime Coste
7f8f748d06
Merge remote-tracking branch 'basbebe/kitty_command'
2021-03-11 20:41:30 +11:00
basbebe
1183e716bc
make kitty repl command consistent with other kitty commands
2021-03-11 10:40:14 +01:00
basbebe
8d5d0d7d90
use kitty launch command, make commands consistent
...
`new-window` is a legacy command (see https://github.com/kovidgoyal/kitty/issues/2708 ).
`KITTY_WINDOW_ID` should be set for any kitty window anyways.
2021-03-11 10:36:30 +01:00
Maxime Coste
c12d1c16b7
Merge remote-tracking branch 'hristost/hristost/swift-multiline-strings'
2021-03-11 08:02:53 +11:00
Maxime Coste
835eaf5495
Merge remote-tracking branch 'pickfire/rust-indent'
2021-03-11 07:51:08 +11:00
hss
566143ac6d
rc swift: highlight multiline strings
2021-03-07 21:26:31 -05:00
Ivan Tham
ebe7f82bb2
Support rust visibility for enum and others
2021-03-07 14:22:43 +08:00
Ivan Tham
8df5621334
Support dedent with rust fn qualifiers
2021-03-07 14:12:01 +08:00
Maxime Coste
60c44e1623
Merge remote-tracking branch 'andreyorst/fennel-filetype'
2021-03-02 21:13:25 +11:00
Andrey Listopadov
877cc9cf88
add fennel filetype
2021-03-01 19:51:36 +03:00
Maxime Coste
bdee3abd88
Match on kitty window id when available
...
This ensures new window are created in the same os window as the
current client instead of the default one.
Closes #4009
2021-03-01 08:47:09 +11:00
Maxime Coste
ca5e6f835c
Merge remote-tracking branch 'gf3/graphql-syntax'
2021-03-01 08:27:36 +11:00
Maxime Coste
a0f567f5e6
Merge remote-tracking branch 'm-kru/troff_comment'
2021-03-01 08:26:02 +11:00
Isa Cichon
0fc91b9576
Fix usages of ModeChange hook
...
hook param always begins with either push: or pop:
Fixes #4078
2021-02-28 21:07:21 +01:00
Michał Kruszewski
b7def7350c
Add comment highlighter for troff files.
...
Add comment highlighter for troff files.
Also highlight the end of the macro definition.
2021-02-25 20:18:10 +01:00
Maxime Coste
726b96da69
Merge remote-tracking branch 'forbesmyester/master'
2021-02-25 20:24:54 +11:00
Maxime Coste
70548ecc14
Merge remote-tracking branch 'rwpeterson/juliahl'
2021-02-25 20:23:10 +11:00
Maxime Coste
84211d2b60
Merge branch 'add-comment-chars-for-scheme' of https://github.com/Calum-J-I/kakoune
2021-02-25 20:22:02 +11:00
Maxime Coste
475e1ccf28
Merge commit 'refs/pull/4047/head' of https://github.com/mawww/kakoune
2021-02-25 20:20:25 +11:00
Bob Peterson
c457c2b1c1
rc julia: add multiline comments
2021-02-21 19:20:03 +01:00
Calum
3e456ae34e
use lisp comments for scheme
2021-02-22 01:21:04 +13:00
Ivan Tham
4e594e034a
Dedent rust await function with ?
2021-02-17 01:17:17 +08:00
Ivan Tham
049591f6b4
Dedent rust empty match
2021-02-17 01:17:14 +08:00
Maxime Coste
dea44e4964
Merge remote-tracking branch 'lenormf/fix-spell'
2021-02-11 20:40:50 +11:00
Maxime Coste
fb30d3751c
Merge remote-tracking branch 'krobelus/yaml-comment'
2021-02-11 20:30:34 +11:00
Maxime Coste
1440db3f89
Merge remote-tracking branch 'krobelus/rest-leaked-code-highlighting'
2021-02-11 20:29:43 +11:00
Johannes Altmanninger
7ddaf071c7
rc java: highlight byte/short/long primitive types
2021-02-10 21:09:30 +01:00
Johannes Altmanninger
41059b3f0c
rc yaml: "#" inside a word is not a comment
2021-02-10 21:09:25 +01:00
Johannes Altmanninger
cfae4dda91
rc restructuredtext: don't highlight first character of next line as code
...
Reproduce by creating a *.rst buffer with the text below. The "N" used to
be highlighted as code.
::
code
Not code
2021-02-10 21:09:16 +01:00
Matthew Forrester
e1db59fb8d
rc repl x11: do not send new line
...
The X11 repl is unique in that it sends the selection (or parameter) with a
new line appended.
This patch removes that new line and thus, brings it into line with the tmux
and kitty versions.
2021-02-05 06:04:16 +00:00
Samadi van Koten
057c532ba8
Fix editorconfig incorrectly matching properties with prefixes
2021-02-04 08:40:22 +00:00
Maxime Coste
5eb2be3e6b
Merge remote-tracking branch 'kayhide/kitty-listen-on'
2021-01-28 21:07:16 +11:00
Maxime Coste
8738be1252
Merge branch 'master' of http://github.com/Kabouik/kakoune
2021-01-28 21:06:14 +11:00
Maxime Coste
69f1c8cae5
Merge remote-tracking branch 'Ordoviz/markdown'
2021-01-28 21:02:47 +11:00
Maxime Coste
b8f1df6458
Fix man for systems lacking the col command
...
At least Alpine linux with mandoc does not have the col command,
as it is easy to emulate with sed, fallback onto it when it does
not exist.
2021-01-26 09:28:24 +11:00
Hideaki Kawai
52222a52e4
Support KITTY_LISTEN_ON on kitty-terminal-tab and kitty-focus
2021-01-22 09:19:35 +09:00
Hideaki Kawai
38b914162a
Update rc/windowing/kitty.kak
...
Co-authored-by: Screwtapello <thristian@gmail.com>
2021-01-22 08:41:41 +09:00
Mathieu Laparie
0a978865f4
Add comment symbols for r filetypes, remove rmd for now
2021-01-21 15:35:35 +01:00
Mathieu Laparie
b74dfa1e74
Add R and Rmd options for comment.kak
2021-01-21 15:12:41 +01:00
Hideaki Kawai
0917191118
Respect KITTY_LISTEN_ON when launching terminal
2021-01-21 18:58:48 +09:00
Lennard Hofmann
61fabee03f
rc markdown: Highlight HTML tags
2021-01-19 15:42:37 +01:00
Frank LENORMAND
efb6fca068
rc spell: Remove :spell-replace
default value
...
This commit removes the default prompt value from the `spell-replace`
command.
Currently, running the command after selecting a misspelled word
might not allow the editor to propose alternative spellings because
it completes upon whatever is inserted into the prompt. If the words
returned by `aspell` are too different from the currently misspelled
word, no candidates are shown.
For example, selecting “unanymously” and running `:spell-replace`
will not show any candidates under the current implementation (the
‘y’ probably trips the fuzzy-matcher).
The user develops a habit of clearing the prompt every time, because
that's the only way to make sure all suggestions from `aspell` are
visible, so the editor might as well not have any default value for
`:spell-replace`.
2021-01-19 16:38:23 +03:00