Skip to content

Commit

Permalink
Update Koto tree-sitter queries
Browse files Browse the repository at this point in the history
  • Loading branch information
irh committed Jan 6, 2025
1 parent 8e83a54 commit 9e610bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3989,7 +3989,7 @@ language-servers = ["koto-ls"]

[[grammar]]
name = "koto"
source = { git = "https://github.com/koto-lang/tree-sitter-koto", rev = "b420f7922d0d74905fd0d771e5b83be9ee8a8a9a" }
source = { git = "https://github.com/koto-lang/tree-sitter-koto", rev = "7258681498ac92f24b2d7ebb844b5e79dc3cf9ac" }

[[language]]
name = "gpr"
Expand Down
7 changes: 2 additions & 5 deletions runtime/queries/koto/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,12 @@

(self) @variable.builtin

(variable
type: (identifier) @type)
(type
_ @type)

(arg
(_ (identifier) @variable.parameter))

(ellipsis) @variable.parameter

(function
output_type: (identifier) @type)

(identifier) @variable

0 comments on commit 9e610bc

Please sign in to comment.