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
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
(string_literal) @string
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
(string_literal) @string
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
(string_value) @string
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
[
|
||||
(interpreted_string_literal)
|
||||
(raw_string_literal)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
|
||||
[
|
||||
(string)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
(string) @string
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment
|
||||
] @comment.inclusive
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
|
||||
[
|
||||
(string)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(comment) @comment.inclusive
|
||||
(string) @string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue