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:
Max Brunsfeld 2024-11-04 15:36:39 -08:00 committed by GitHub
parent 369de400be
commit 258cf6c746
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 120 additions and 61 deletions

View file

@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string_literal) @string

View file

@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string_literal) @string

View file

@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string_value) @string

View file

@ -1,4 +1,4 @@
(comment) @comment
(comment) @comment.inclusive
[
(interpreted_string_literal)
(raw_string_literal)

View file

@ -1,4 +1,4 @@
(comment) @comment
(comment) @comment.inclusive
[
(string)

View file

@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string) @string

View file

@ -5,4 +5,4 @@
[
(line_comment)
(block_comment)
] @comment
] @comment.inclusive

View file

@ -1,4 +1,4 @@
(comment) @comment
(comment) @comment.inclusive
[
(string)

View file

@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string) @string