-
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.
Grammar: #If directive highlight (#323)
Co-authored-by: Mark Wiemer <[email protected]> Closes #69
- Loading branch information
Showing
4 changed files
with
59 additions
and
11 deletions.
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,2 @@ | ||
; [Issue #69](https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/issues/69) | ||
#If WinActive("ahk_class Notepad") or WinActive(MyWindowTitle) ;Comment |
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,21 @@ | ||
>; [Issue #69](https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/issues/69) | ||
#^ source.ahk comment.line.semicolon.ahk punctuation.definition.comment.ahk | ||
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.ahk comment.line.semicolon.ahk | ||
>#If WinActive("ahk_class Notepad") or WinActive(MyWindowTitle) ;Comment | ||
#^^^ source.ahk keyword.control.if.ahk | ||
# ^ source.ahk keyword.control.if.ahk | ||
# ^^^^^^^^^ source.ahk keyword.control.if.ahk support.function.ahk | ||
# ^ source.ahk keyword.control.if.ahk punctuation.bracket.ahk | ||
# ^ source.ahk keyword.control.if.ahk string.quoted.double.ahk punctuation.definition.string.begin.ahk | ||
# ^^^^^^^^^^^^^^^^^ source.ahk keyword.control.if.ahk string.quoted.double.ahk | ||
# ^ source.ahk keyword.control.if.ahk string.quoted.double.ahk punctuation.definition.string.end.ahk | ||
# ^ source.ahk keyword.control.if.ahk punctuation.bracket.ahk | ||
# ^ source.ahk keyword.control.if.ahk | ||
# ^^ source.ahk keyword.control.if.ahk keyword.other.ahk | ||
# ^ source.ahk keyword.control.if.ahk | ||
# ^^^^^^^^^ source.ahk keyword.control.if.ahk support.function.ahk | ||
# ^ source.ahk keyword.control.if.ahk punctuation.bracket.ahk | ||
# ^^^^^^^^^^^^^ source.ahk keyword.control.if.ahk variable.def.ahk | ||
# ^ source.ahk keyword.control.if.ahk punctuation.bracket.ahk | ||
# ^^^^^^^^^ source.ahk keyword.control.if.ahk comment.line.semicolon.if.ahk | ||
> |
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