updated to support let
This commit is contained in:
parent
52fa5a5f5e
commit
2645b608e8
4 changed files with 9 additions and 12 deletions
|
|
@ -3,4 +3,5 @@
|
|||
(block_comment)
|
||||
(labs)
|
||||
(pabs)
|
||||
(binding)
|
||||
] @fold
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[ "fun" "λ" "forall" "∏" ] @keyword
|
||||
[ "fun" "λ" "forall" "∏" "let" "in" "end" ] @keyword
|
||||
(axiom) @keyword
|
||||
|
||||
(preprocess
|
||||
|
|
@ -17,6 +17,9 @@
|
|||
(definition
|
||||
name: (identifier) @function)
|
||||
|
||||
(binding
|
||||
(identifier) @function)
|
||||
|
||||
(param_block
|
||||
param: (identifier)+ @variable.parameter)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
(definition) @local.scope
|
||||
(definition
|
||||
name: (identifier) @local.definition)
|
||||
(labs) @local.scope
|
||||
(pabs) @local.scope
|
||||
|
||||
(param_block
|
||||
param: (identifier)+ @local.definition)
|
||||
|
||||
(term
|
||||
(identifier) @local.reference)
|
||||
|
|
@ -5,3 +5,7 @@
|
|||
(term
|
||||
"(" @delimiter
|
||||
")" @delimiter @sentinel) @container
|
||||
|
||||
(binding
|
||||
"(" @delimiter
|
||||
")" @delimiter @sentinel) @container
|
||||
|
|
|
|||
Loading…
Reference in a new issue