Skip to content

Commit 4f28496

Browse files
committed
fix: self closing element
1 parent 5196166 commit 4f28496

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/Comment/jsx.lua

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ local J = {
55
local query = [[
66
(jsx_opening_element [(jsx_attribute) (comment)] @nojsx)
77
8+
(jsx_self_closing_element [(jsx_attribute) (comment)] @nojsx)
9+
810
((jsx_expression (comment)) @jsx)
911
1012
(jsx_expression

0 commit comments

Comments
 (0)