mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +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
|
||||
"regex" -> Regex
|
||||
"template_string" -> TemplateString
|
||||
"var_assignment" -> VarAssignment
|
||||
"var_declaration" -> VarDecl
|
||||
_ -> Other name
|
||||
|
||||
-- | Return a parser for a tree sitter language & document.
|
||||
|
Loading…
Reference in New Issue
Block a user