diff --git a/rc/core/kakrc.kak b/rc/core/kakrc.kak index ad764269..13875bdb 100644 --- a/rc/core/kakrc.kak +++ b/rc/core/kakrc.kak @@ -13,16 +13,16 @@ hook global BufCreate (.*/)?(kakrc|.*.kak) %{ add-highlighter -group / regions -default code kakrc \ comment (^|\h)\K\# $ '' \ - double_string %{(^|\h)"} %{(?' '\<' \ - shell '-shell-(completion|candidates)\h+%\{' '\}' '\{' \ - shell '-shell-(completion|candidates)\h+%\(' '\)' '\(' \ - shell '-shell-(completion|candidates)\h+%\[' '\]' '\[' \ - shell '-shell-(completion|candidates)\h+%\<' '\>' '\<' + double_string %{(^|\h)\K"} %{(?' '\<' \ + 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