mirror of
https://github.com/github/semantic.git
synced 2025-01-06 23:46:21 +03:00
Add VarAssignment/VarDecl mappings to defaultCategoryForNodeName
This commit is contained in:
parent
c8b921f52b
commit
66ce5d0957
@ -54,6 +54,8 @@ defaultCategoryForNodeName name = case name of
|
|||||||
"member_access" -> MemberAccess
|
"member_access" -> MemberAccess
|
||||||
"regex" -> Regex
|
"regex" -> Regex
|
||||||
"template_string" -> TemplateString
|
"template_string" -> TemplateString
|
||||||
|
"var_assignment" -> VarAssignment
|
||||||
|
"var_declaration" -> VarDecl
|
||||||
_ -> Other name
|
_ -> Other name
|
||||||
|
|
||||||
-- | Return a parser for a tree sitter language & document.
|
-- | Return a parser for a tree sitter language & document.
|
||||||
|
Loading…
Reference in New Issue
Block a user