diff --git a/syntax/embed/C# (for PowerShell).sublime-syntax b/syntax/embed/C# (for PowerShell).sublime-syntax index 80c9a1d..fabce98 100644 --- a/syntax/embed/C# (for PowerShell).sublime-syntax +++ b/syntax/embed/C# (for PowerShell).sublime-syntax @@ -6,6 +6,9 @@ hidden: true extends: Packages/C#/C#.sublime-syntax +variables: + sql_indicator: (?!) + contexts: inside_triple_quoted_raw_string_syntax: @@ -23,20 +26,11 @@ contexts: - meta_include_prototype: false - include: immediately-pop - inside-triple-quoted-raw-string-syntax: - # required for sublimehq/Packages/pull/4547 - - meta_include_prototype: false - - include: immediately-pop + inside-triple-quoted-raw-string-sql: [] - inside-verbatim-string-syntax: - # required for sublimehq/Packages/pull/4547 - - meta_include_prototype: false - - include: immediately-pop + inside-verbatim-string-sql: [] - inside-verbatim-format-string-syntax: - # required for sublimehq/Packages/pull/4547 - - meta_include_prototype: false - - include: immediately-pop + inside-verbatim-format-string-sql: [] immediately-pop: # required before sublimehq/Packages/pull/4547 diff --git a/tests/syntax_test_strings.ps1 b/tests/syntax_test_strings.ps1 index 4bfcdbe..1ff74be 100644 --- a/tests/syntax_test_strings.ps1 +++ b/tests/syntax_test_strings.ps1 @@ -60,8 +60,7 @@ @' using System; #^^^^^^^^^^^^^^^^ meta.string.powershell string.quoted.single.heredoc.powershell source.cs -# ^^^^^ keyword.control.import.cs -# ^^^^^^ meta.path.cs +# ^^^^^ keyword # ^ punctuation.terminator '@ @@ -232,8 +231,7 @@ @" using System; #^^^^^^^^^^^^^^^^ meta.string.interpolated.powershell string.quoted.double.heredoc.powershell source.cs -# ^^^^^ keyword.control.import.cs -# ^^^^^^ meta.path.cs +# ^^^^^ keyword # ^ punctuation.terminator "@