mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 08:51:46 +03:00
Merge remote-tracking branch 'danr/Fix-introduced-mistake-in-kakrc-highlighting'
This commit is contained in:
commit
214f321951
@ -13,16 +13,16 @@ hook global BufCreate (.*/)?(kakrc|.*.kak) %{
|
||||
|
||||
add-highlighter -group / regions -default code kakrc \
|
||||
comment (^|\h)\K\# $ '' \
|
||||
double_string %{(^|\h)"} %{(?<!\\)(\\\\)*"} '' \
|
||||
single_string %{(^|\h)'} %{(?<!\\)(\\\\)*'} '' \
|
||||
shell '%sh\{' '\}' '\{' \
|
||||
shell '%sh\(' '\)' '\(' \
|
||||
shell '%sh\[' '\]' '\[' \
|
||||
shell '%sh\<' '\>' '\<' \
|
||||
shell '-shell-(completion|candidates)\h+%\{' '\}' '\{' \
|
||||
shell '-shell-(completion|candidates)\h+%\(' '\)' '\(' \
|
||||
shell '-shell-(completion|candidates)\h+%\[' '\]' '\[' \
|
||||
shell '-shell-(completion|candidates)\h+%\<' '\>' '\<'
|
||||
double_string %{(^|\h)\K"} %{(?<!\\)(\\\\)*"} '' \
|
||||
single_string %{(^|\h)\K'} %{(?<!\\)(\\\\)*'} '' \
|
||||
shell '(^|\h)\K%sh\{' '\}' '\{' \
|
||||
shell '(^|\h)\K%sh\(' '\)' '\(' \
|
||||
shell '(^|\h)\K%sh\[' '\]' '\[' \
|
||||
shell '(^|\h)\K%sh\<' '\>' '\<' \
|
||||
shell '(^|\h)\K-shell-(completion|candidates)\h+%\{' '\}' '\{' \
|
||||
shell '(^|\h)\K-shell-(completion|candidates)\h+%\(' '\)' '\(' \
|
||||
shell '(^|\h)\K-shell-(completion|candidates)\h+%\[' '\]' '\[' \
|
||||
shell '(^|\h)\K-shell-(completion|candidates)\h+%\<' '\>' '\<'
|
||||
|
||||
%sh{
|
||||
# Grammar
|
||||
|
Loading…
Reference in New Issue
Block a user