Skip to content

Commit 985cd8b

Browse files
pedro-ricardokrvajal
authored andcommitted
Correct invalid highlight in else block (issue #62) (#68)
1 parent fb9e01b commit 985cd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/fortran_free-form.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@
12361236
"patterns": [
12371237
{
12381238
"comment": "rest of else line",
1239-
"begin": "\\G(?!\\s*\\n)",
1239+
"begin": "(?!(\\s*!)|(\\s*\\n))",
12401240
"end": "(?=[;!\\n])",
12411241
"patterns": [
12421242
{

0 commit comments

Comments
 (0)