diff --git a/src/TreeSitter.hs b/src/TreeSitter.hs index 811db5dda..7d14d539a 100644 --- a/src/TreeSitter.hs +++ b/src/TreeSitter.hs @@ -81,6 +81,7 @@ defaultCategoryForNodeName name = case name of "while_statement" -> While "do_statement" -> DoWhile "return_statement" -> Return + "throw_statement" -> Throw _ -> Other name -- | Return a parser for a tree sitter language & document.