Skip to content

Commit

Permalink
fix: self closing element
Browse files Browse the repository at this point in the history
  • Loading branch information
numToStr committed Dec 24, 2022
1 parent 8f20ece commit ce780fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/Comment/jsx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce780fe

Please sign in to comment.