diff options
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/jsx/highlights.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/jsx/highlights.scm b/queries/jsx/highlights.scm index a53b95339..0615d253a 100644 --- a/queries/jsx/highlights.scm +++ b/queries/jsx/highlights.scm @@ -149,3 +149,9 @@ (string (string_fragment) @string.special.url)) (#any-of? @_attr "href" "src")) + +((jsx_element) @_jsx_element + (#set! @_jsx_element bo.commentstring "{/* %s */}")) + +((jsx_attribute) @_jsx_attribute + (#set! @_jsx_attribute bo.commentstring "// %s")) |
