mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
highlights(scheme): some fix (#2932)
* Add block comment * Add λ highlight
This commit is contained in:
parent
f1373051e5
commit
b30a830c88
1 changed files with 4 additions and 3 deletions
|
|
@ -6,7 +6,8 @@
|
|||
(character) @character
|
||||
(boolean) @boolean
|
||||
(string) @string
|
||||
(comment) @comment
|
||||
[(comment)
|
||||
(block_comment)] @comment
|
||||
|
||||
;; highlight for datum comment
|
||||
;; copied from ../clojure/highlights.scm
|
||||
|
|
@ -42,7 +43,7 @@
|
|||
.
|
||||
(list
|
||||
(symbol) @variable)
|
||||
(#eq? @_f "lambda"))
|
||||
(#any-of? @_f "lambda" "λ"))
|
||||
|
||||
(list
|
||||
.
|
||||
|
|
@ -64,7 +65,7 @@
|
|||
|
||||
((symbol) @keyword
|
||||
(#any-of? @keyword
|
||||
"define" "lambda" "begin" "do" "define-syntax"
|
||||
"define" "lambda" "λ" "begin" "do" "define-syntax"
|
||||
"and" "or"
|
||||
"if" "cond" "case" "when" "unless" "else" "=>"
|
||||
"let" "let*" "let-syntax" "let-values" "let*-values" "letrec" "letrec*" "letrec-syntax"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue