1
1
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:
joshvera 2016-06-15 11:17:03 -07:00
parent c8b921f52b
commit 66ce5d0957

View File

@ -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.