diff options
author | VuiMuich | 2023-04-14 15:03:21 +0000 |
---|---|---|
committer | GitHub | 2023-04-14 15:03:21 +0000 |
commit | 4cdba7cccdd6a9fe5fbb3d15c9db3edc147b7a90 (patch) | |
tree | fcf47d2c5aab01d6c845f19107d8f4f486e0d359 /runtime/queries/just/highlights.scm | |
parent | 896404c7ead29c4c19564581ccb53b913440a583 (diff) |
Add standalone language support for `just` (#6453)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'runtime/queries/just/highlights.scm')
-rw-r--r-- | runtime/queries/just/highlights.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/runtime/queries/just/highlights.scm b/runtime/queries/just/highlights.scm new file mode 100644 index 00000000..1026f654 --- /dev/null +++ b/runtime/queries/just/highlights.scm @@ -0,0 +1,33 @@ +(assignment (NAME) @variable) +(alias (NAME) @variable) +(value (NAME) @variable) +(parameter (NAME) @variable) +(setting (NAME) @keyword) +(setting "shell" @keyword) + +(call (NAME) @function) +(dependency (NAME) @function) +(depcall (NAME) @function) +(recipeheader (NAME) @function) + +(depcall (expression) @variable.parameter) +(parameter) @variable.parameter +(variadic_parameters) @variable.parameter + +["if" "else"] @keyword.control.conditional + +(string) @string + +(boolean ["true" "false"]) @constant.builtin.boolean + +(comment) @comment + +; (interpolation) @string + +(shebang interpreter:(TEXT) @keyword ) @comment + +["export" "alias" "set"] @keyword + +["@" "==" "!=" "+" ":="] @operator + +[ "(" ")" "[" "]" "{{" "}}" "{" "}"] @punctuation.bracket |