Skip to content

Commit 3bcabc5

Browse files
authored
Merge pull request #16 from LittleHelicase/master
Fix backticks in imports.
2 parents db07ba3 + 0f66933 commit 3bcabc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/Kotlin.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,14 +549,14 @@
549549
<key>name</key>
550550
<string>keyword.other.kotlin</string>
551551
</dict>
552-
<key>2</key>
552+
<key>4</key>
553553
<dict>
554554
<key>name</key>
555555
<string>keyword.other.kotlin</string>
556556
</dict>
557557
</dict>
558558
<key>match</key>
559-
<string>^\s*(import)\s+[^ $]+\s+(as)?</string>
559+
<string>^\s*(import)\s+[^ $.]+(\.([`][^$`]+[`]|[^` $.]+))+\s+(as)?</string>
560560
</dict>
561561
</array>
562562
</dict>

0 commit comments

Comments
 (0)