Skip to content

Commit 3a29953

Browse files
committed
. accept optional whitespace in @import-statement
1 parent 28bab08 commit 3a29953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def run(self, edit):
1414
extension = full_name.split('.')[-1]
1515
file_name = '.'.join(full_name.split('.')[0:-1])
1616

17-
test = '/{0,2}@import url\(\'(.+)\'\);'
17+
test = '/{0,2}@import url\( *\'(.+)\' *\);'
1818
i = self.view.find(test, 0)
1919
if i:
2020
new_view = window.new_file()

0 commit comments

Comments
 (0)