Unnamed repository; edit this file 'description' to name the repository.
just: bump grammar support to Just 1.37.0 (#12141)
| -rw-r--r-- | languages.toml | 2 | ||||
| -rw-r--r-- | runtime/queries/just/highlights.scm | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index 4bc98034..a1e6c6e0 100644 --- a/languages.toml +++ b/languages.toml @@ -3168,7 +3168,7 @@ indent = { tab-width = 4, unit = " " } [[grammar]] name = "just" -source = { git = "https://github.com/poliorcetics/tree-sitter-just", rev = "6e28fa6cba511c694247cd802d1c3b14f8d34dbb" } +source = { git = "https://github.com/poliorcetics/tree-sitter-just", rev = "180bb15d64c63585c4f65c551350048f21987bcb" } [[language]] name = "gn" diff --git a/runtime/queries/just/highlights.scm b/runtime/queries/just/highlights.scm index 258fadb9..97a99761 100644 --- a/runtime/queries/just/highlights.scm +++ b/runtime/queries/just/highlights.scm @@ -3,6 +3,7 @@ [ "export" "import" + "unexport" ] @keyword.control.import "mod" @keyword.directive @@ -18,6 +19,11 @@ "else" ] @keyword.control.conditional +[ + "&&" + "||" +] @operator + ; Variables (value @@ -31,6 +37,9 @@ (shell_variable_name) @variable +(unexport + name: (identifier) @variable) + ; Functions (recipe |