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
17 changed files with 120 additions and 61 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string_literal) @string
+1 -1
View File
@@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string_literal) @string
+1 -1
View File
@@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string_value) @string
+1 -1
View File
@@ -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 -1
View File
@@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string) @string
+1 -1
View File
@@ -5,4 +5,4 @@
[
(line_comment)
(block_comment)
] @comment
] @comment.inclusive
+1 -1
View File
@@ -1,4 +1,4 @@
(comment) @comment
(comment) @comment.inclusive
[
(string)
@@ -1,2 +1,2 @@
(comment) @comment
(comment) @comment.inclusive
(string) @string