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 = { list.scheme = {
install_info = { install_info = {
url = "https://github.com/6cdh/tree-sitter-scheme", url = "https://github.com/6cdh/tree-sitter-scheme",
branch = "main",
files = { "src/parser.c" }, files = { "src/parser.c" },
}, },
maintainers = { "@6cdh" }, maintainers = { "@6cdh" },

View file

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