summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
author6cdh <39000776+6cdh@users.noreply.github.com>2022-05-14 15:25:45 +0800
committerGitHub <noreply@github.com>2022-05-14 09:25:45 +0200
commitb30a830c88490b742cb9791025aa68589f1bba34 (patch)
tree4d6bb03a2ca6830512383ea9d576b3077b63ea56 /queries
parentf1373051e554cc4642cda719c8023e4e8508eb2d (diff)
highlights(scheme): some fix (#2932)
* Add block comment * Add λ highlight
Diffstat (limited to 'queries')
-rw-r--r--queries/scheme/highlights.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/queries/scheme/highlights.scm b/queries/scheme/highlights.scm
index 7798eff7..4a7393eb 100644
--- a/queries/scheme/highlights.scm
+++ b/queries/scheme/highlights.scm
@@ -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"