Permalink
Browse files

Improve import regexps for LESS

  • Loading branch information...
1 parent 4d36272 commit ba866b2dfbbbed8b3363fe511d3bc9643b59e17d @andreyvit andreyvit committed Aug 14, 2014
Showing with 4 additions and 3 deletions.
  1. +4 −3 LESS.lrplugin/manifest.json
@@ -89,9 +89,10 @@
],
"ImportRegExps": [
"@import\\s*\"([^\"]+)\"",
- "@import\\s+\\(\\s*reference\\s*\\)\\s*\"([^\"]+)\"",
- "@import\\s+\\(\\s*inline\\s*\\)\\s*\"([^\"]+)\"",
- "@import\\stylesheets*'([^']+)'",
+ "@import\\s*'([^']+)'",
+ "@import\\s*\\(\\s*(?:reference|less|once|multiple|inline)\\s*\\)\\s*\"([^\"]+)\"",
+ "@import\\s*\\(\\s*(?:reference|less|once|multiple|inline)\\s*\\)\\s*'([^']+)'",
+ "@import\\sstylesheets\\s*'([^']+)'",
"@import\\s+([\\w./-]+)"
],
"DefaultImportedExts": [

0 comments on commit ba866b2

Please sign in to comment.