Skip to content

Commit

Permalink
Fix syntax highlighting of comments with prefixes
Browse files Browse the repository at this point in the history
When a recipe contains a line with only a comment, and a prefix
precedes the comment, the highlighting is invalid (the comment is not
highlighted as such).

This allows comments to appear in recipes.

Fixes #4
  • Loading branch information
tbhartman committed Jul 12, 2019
1 parent 74f86ae commit 8b350e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Syntaxes/Makefile.plist
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@
<key>name</key>
<string>constant.character.escape.continuation.makefile</string>
</dict>
<dict>
<key>include</key>
<string>#comment</string>
</dict>
<dict>
<key>include</key>
<string>#variables</string>
Expand Down

0 comments on commit 8b350e4

Please sign in to comment.