diff --git a/queries/javascript/nvimGPS.scm b/queries/javascript/nvimGPS.scm index 8bdc253..9e26d4e 100644 --- a/queries/javascript/nvimGPS.scm +++ b/queries/javascript/nvimGPS.scm @@ -1,11 +1,4 @@ -; inherits: reacthooks - -; Tag -> `
` -((jsx_element open_tag: (jsx_opening_element name: (identifier) @tag-name)) @scope-root) -; Self-Closing tag -> `` -((jsx_self_closing_element name: (identifier) @tag-name) @scope-root) -; tag named by accessing a property of an object -> `` -((jsx_element open_tag: (jsx_opening_element name: (nested_identifier) @tag-name)) @scope-root) +; inherits: javascriptreact ; Class ((class_declaration