Add inclusive range scope overrides. Don't auto-close quotes at the ends of line comments (#20206)
Closes #9195 Closes #19787 Release Notes: - Fixed an issue where single quotation marks were spuriously auto-closed when typing in line comments
This commit is contained in:
parent
369de400be
commit
258cf6c746
17 changed files with 120 additions and 61 deletions
|
@ -3,4 +3,4 @@
|
|||
(quoted_attribute_value)
|
||||
] @string
|
||||
|
||||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
[(string) (charlist)] @string
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
(comment)
|
||||
(block_comment)
|
||||
(directive)
|
||||
] @comment
|
||||
] @comment.inclusive
|
||||
(string) @string
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
(string) @string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue