minor changes to highlights

This commit is contained in:
William Ball 2024-12-14 11:10:17 -08:00
parent e5d8affe5e
commit 4d3b1fdcc7
3 changed files with 3 additions and 6 deletions

View file

@ -19,6 +19,7 @@ function M.setup(opts)
parser_config.perga = {
install_info = {
url = 'https://forgejo.ballcloud.cc/wball/tree-sitter-perga',
-- url = '$HOME/repos/tree-sitter-perga',
files = {'src/parser.c'},
branch = 'main',
generate_requires_npm = false,

View file

@ -1,4 +1,4 @@
[ "fun" "λ" "forall" "∏" "let" "in" "end" "def" "axiom" "variable" "hypothesis" "section" "infixl" "infixr" ] @keyword
[ "fun" "λ" "forall" "∏" "let" "in" "end" "def" "axiom" "variable" "hypothesis" "section" "infixl" "infixr" "[" "]" ] @keyword
(preprocess
(command) @keyword
@ -13,7 +13,7 @@
(comment) @comment
;(block_comment) @comment
[ "(" ")" "[" "]" ] @punctuation.bracket
[ "(" ")" ] @punctuation.bracket
(definition
name: (identifier) @function)

View file

@ -17,7 +17,3 @@
(variable_binding
"(" @delimiter
")" @delimiter @sentinel) @container
(labs_alt
"[" @delimiter
"]" @delimiter @sentinel) @container