Fix nvim-treesitter CI

This commit is contained in:
6cdh 2022-04-09 20:20:53 +08:00 committed by Stephan Seitz
parent 2ecb4022f4
commit 7fffab173c
2 changed files with 8 additions and 7 deletions

View file

@ -46,6 +46,7 @@ local list = setmetatable({}, {
list.scheme = {
install_info = {
url = "https://github.com/6cdh/tree-sitter-scheme",
branch = "main",
files = { "src/parser.c" },
},
maintainers = { "@6cdh" },

View file

@ -6,7 +6,7 @@
(character) @character
(boolean) @boolean
(string) @string
[(comment)] @comment
(comment) @comment
;; highlight for datum comment
;; copied from ../clojure/highlights.scm
@ -38,20 +38,20 @@
(list
.
(symbol) @f
(symbol) @_f
.
(list
(symbol) @variable)
(#eq? @f "lambda"))
(#eq? @_f "lambda"))
(list
.
(symbol) @f
(symbol) @_f
.
(list
(list
(symbol) @variable))
(#any-of? @f
(#any-of? @_f
"let" "let*" "let-syntax" "let-values" "let*-values" "letrec" "letrec*" "letrec-syntax"))
;; operators
@ -86,8 +86,8 @@
(list
.
(symbol) @f
(#eq? @f "quote")) @symbol
(symbol) @_f
(#eq? @_f "quote")) @symbol
;; library