1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

Add Switch/Case to defaultCategoryForNodeName

This commit is contained in:
joshvera 2016-06-15 16:52:39 -07:00
parent f1fd404826
commit 6fea8145e4

View File

@ -56,6 +56,8 @@ defaultCategoryForNodeName name = case name of
"template_string" -> TemplateString
"var_assignment" -> VarAssignment
"var_declaration" -> VarDecl
"switch_statement" -> Switch
"case" -> Case
_ -> Other name
-- | Return a parser for a tree sitter language & document.