Unnamed repository; edit this file 'description' to name the repository.
Update Nix highlights
* Switch nix grammar repository location to the new repo. The author has transferred the repository to 'nix-community'. * Capture ':' and '...' as 'punctuation.delimiter'.
Michael Davis 2023-03-14
parent cdd6c8d · commit fb4d703
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/nix/highlights.scm2
2 files changed, 3 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 2e6f5f95..5afd36c9 100644
--- a/languages.toml
+++ b/languages.toml
@@ -591,7 +591,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "nix"
-source = { git = "https://github.com/cstrahan/tree-sitter-nix", rev = "6b71a810c0acd49b980c50fc79092561f7cee307" }
+source = { git = "https://github.com/nix-community/tree-sitter-nix", rev = "6b71a810c0acd49b980c50fc79092561f7cee307" }
[[language]]
name = "ruby"
diff --git a/runtime/queries/nix/highlights.scm b/runtime/queries/nix/highlights.scm
index ce8e3c1a..a998aa64 100644
--- a/runtime/queries/nix/highlights.scm
+++ b/runtime/queries/nix/highlights.scm
@@ -95,6 +95,8 @@
"."
","
"="
+ ":"
+ (ellipses)
] @punctuation.delimiter
[