mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-10-26 11:08:40 +03:00
[language-javascript] Two highlighting fixes…
* Revert JSDoc tags to use the `keyword` namespace * Ensure we always apply `meta.tag.jsx.js` to the area surrounding a JSX opening/closing/self-closing tag element and its punctuation.
This commit is contained in:
parent
11910a11aa
commit
476e784005
@ -782,11 +782,11 @@
|
||||
|
||||
(jsx_opening_element
|
||||
"<" @punctuation.definition.tag.begin.js
|
||||
">" @punctuation.definition.tag.end.js)
|
||||
">" @punctuation.definition.tag.end.js) @meta.tag.js
|
||||
|
||||
(jsx_closing_element
|
||||
"</" @punctuation.definition.tag.begin.js
|
||||
">" @punctuation.definition.tag.end.js)
|
||||
">" @punctuation.definition.tag.end.js) @meta.tag.js
|
||||
|
||||
(jsx_self_closing_element
|
||||
"<" @punctuation.definition.tag.begin.js
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
((inline_tag) @meta.inline-tag.jsdoc.js)
|
||||
|
||||
(tag_name) @entity.name.tag.jsdoc.js
|
||||
(tag_name) @keyword.other.tag.jsdoc.js
|
||||
|
||||
((tag (type)) @storage.type.instance.jsdoc.js
|
||||
; Join the type with its surrounding braces.
|
||||
|
Loading…
Reference in New Issue
Block a user