Skip to content

Commit

Permalink
Merge pull request #66 from lf-lang/highlight-fix
Browse files Browse the repository at this point in the history
Fix import statement highlighting
  • Loading branch information
lhstrh authored Jul 5, 2022
2 parents 66df559 + b6201d5 commit b027e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/lflang.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
]
},
"import-statement": {
"begin": "(?=^import\\b)",
"begin": "(?=^\\s*import\\b)",
"end": ";|(?<=}.*)$|(?<=import[^\\{]*)$",
"patterns": [
{
Expand Down

0 comments on commit b027e8f

Please sign in to comment.