Skip to content

Commit

Permalink
Tweak the import tree sitter hlgroups.
Browse files Browse the repository at this point in the history
(This still isn't really used yet until/unless tree-sitter-lean is
revived. But the hlgroup is wrong as-is so may as well fix it.)
  • Loading branch information
Julian committed Dec 28, 2024
1 parent 25530cf commit 4753990
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion queries/lean/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@

["for" "in" "do"] @repeat

(import) @include
(import
module: (identifier) @module)

; Tokens

Expand Down Expand Up @@ -173,6 +174,10 @@
(trivial)
] @keyword

[
"import"
] @keyword.import

[
"catch"
"finally"
Expand Down

0 comments on commit 4753990

Please sign in to comment.