-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix syntax highlighting for strings with double-colons (#278)
- Loading branch information
1 parent
9337871
commit 644e0ac
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
;[#54 in AHK+](https://github.com/vscode-autohotkey/autohotkey-plus/issues/54) | ||
Hotstring("::ykhis", "you know how it is") | ||
Hotstring(":C:OOS", "out-of::-spec") |
27 changes: 27 additions & 0 deletions
27
src/test/suite/grammar/samples/54-double-colon-in-string.ahk.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
>;[#54 in AHK+](https://github.com/vscode-autohotkey/autohotkey-plus/issues/54) | ||
#^ source.ahk comment.line.semicolon.ahk punctuation.definition.comment.ahk | ||
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.ahk comment.line.semicolon.ahk | ||
>Hotstring("::ykhis", "you know how it is") | ||
#^^^^^^^^^ source.ahk entity.name.function.ahk | ||
# ^ source.ahk punctuation.bracket.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.begin.ahk | ||
# ^^^^^^^ source.ahk string.quoted.double.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.end.ahk | ||
# ^ source.ahk punctuation.ahk | ||
# ^ source.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.begin.ahk | ||
# ^^^^^^^^^^^^^^^^^^ source.ahk string.quoted.double.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.end.ahk | ||
# ^ source.ahk punctuation.bracket.ahk | ||
>Hotstring(":C:OOS", "out-of::-spec") | ||
#^^^^^^^^^ source.ahk entity.name.function.ahk | ||
# ^ source.ahk punctuation.bracket.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.begin.ahk | ||
# ^^^^^^ source.ahk string.quoted.double.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.end.ahk | ||
# ^ source.ahk punctuation.ahk | ||
# ^ source.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.begin.ahk | ||
# ^^^^^^^^^^^^^ source.ahk string.quoted.double.ahk | ||
# ^ source.ahk string.quoted.double.ahk punctuation.definition.string.end.ahk | ||
# ^ source.ahk punctuation.bracket.ahk |