mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
Add Try/Catch/Finally cases to defaultCategoryForNodeName
This commit is contained in:
parent
2de0afbe95
commit
ddcb6f6a1d
@ -82,6 +82,9 @@ defaultCategoryForNodeName name = case name of
|
||||
"while_statement" -> While
|
||||
"do_statement" -> DoWhile
|
||||
"return_statement" -> Return
|
||||
"try_statement" -> Try
|
||||
"catch" -> Catch
|
||||
"finally" -> Finally
|
||||
_ -> Other name
|
||||
|
||||
-- | Return a parser for a tree sitter language & document.
|
||||
|
Loading…
Reference in New Issue
Block a user