Skip to content

Commit 0a81d92

Browse files
werk-vscode: only highlight control characters then at start of line
1 parent 2ee6bf1 commit 0a81d92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

werk-vscode/syntaxes/werk.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"patterns": [
2727
{
2828
"name": "keyword.control.werk",
29-
"match": "\\b(config|let|build|task|from|to|depfile|run)\\b"
29+
"match": "^\\s*\\b(config|let|build|task|from|to|depfile|run)\\b"
3030
}
3131
]
3232
},
@@ -87,4 +87,4 @@
8787
}
8888
},
8989
"scopeName": "source.werk"
90-
}
90+
}

0 commit comments

Comments
 (0)