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

Add true and false cases to defaultCategoryForNodeName

This commit is contained in:
Rick Winfrey 2016-06-16 09:55:13 -05:00
parent 6e3a2e2a4e
commit f70bce09c2

View File

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