diff --git a/lua/Comment/jsx.lua b/lua/Comment/jsx.lua index f911576..a5e9b98 100644 --- a/lua/Comment/jsx.lua +++ b/lua/Comment/jsx.lua @@ -5,6 +5,8 @@ local J = { local query = [[ (jsx_opening_element [(jsx_attribute) (comment)] @nojsx) + (jsx_self_closing_element [(jsx_attribute) (comment)] @nojsx) + ((jsx_expression (comment)) @jsx) (jsx_expression