diff --git a/src/TreeSitter.hs b/src/TreeSitter.hs index a567817fc..fc54f9b51 100644 --- a/src/TreeSitter.hs +++ b/src/TreeSitter.hs @@ -31,6 +31,8 @@ categoriesForLanguage :: Language -> Text -> Category categoriesForLanguage language name = case (language, name) of (JavaScript, "object") -> Object (JavaScript, "rel_op") -> BinaryOperator -- relational operator, e.g. >, <, <=, >=, ==, != + (JavaScript, "bool_op") -> BinaryOperator + (JavaScript, "expression_statement") -> ExpressionStatements (JavaScript, "this_expression") -> Identifier (JavaScript, "null") -> Identifier (JavaScript, "undefined") -> Identifier