diff --git a/rc/filetype/just.kak b/rc/filetype/just.kak index d198d517..0974c9be 100644 --- a/rc/filetype/just.kak +++ b/rc/filetype/just.kak @@ -38,18 +38,23 @@ define-command -hidden just-indent-on-new-line %{ # ‾‾‾‾‾‾‾‾‾‾‾‾ add-highlighter shared/justfile regions + add-highlighter shared/justfile/content default-region group +add-highlighter shared/justfile/content/recipe regex '^@?([\w-]+)([^\n]*):(?!=)([^\n]*)' 1:function 2:meta 3:keyword +add-highlighter shared/justfile/content/assignments regex ^([\w-]+\h*:=\h*[^\n]*) 1:meta +add-highlighter shared/justfile/content/operator regex '((^@|:=|=|\+|\(|\)))' 1:operator +add-highlighter shared/justfile/content/strings regions +add-highlighter shared/justfile/content/strings/double region '"' (?