Skip to content

Commit

Permalink
Update Nix highlights
Browse files Browse the repository at this point in the history
* Switch nix grammar repository location to the new repo. The author
  has transferred the repository to 'nix-community'.
* Capture ':' and '...' as 'punctuation.delimiter'.
  • Loading branch information
the-mikedavis authored and archseer committed Mar 14, 2023
1 parent cdd6c8d commit fb4d703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions runtime/queries/nix/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
"."
","
"="
":"
(ellipses)
] @punctuation.delimiter

[
Expand Down

0 comments on commit fb4d703

Please sign in to comment.