mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
Assign the Program category.
This commit is contained in:
parent
83b57fc643
commit
adca4a56a3
@ -37,6 +37,7 @@ categoriesForLanguage language name = case (language, name) of
|
||||
-- | Given a node name from TreeSitter, return the correct categories.
|
||||
defaultCategoryForNodeName :: String -> Category
|
||||
defaultCategoryForNodeName name = case name of
|
||||
"program" -> Program
|
||||
"function_call" -> FunctionCall
|
||||
"pair" -> Pair
|
||||
"string" -> StringLiteral
|
||||
|
Loading…
Reference in New Issue
Block a user