diff --git a/src/app/window.coffee b/src/app/window.coffee index 1967fe205..b73cc01ef 100644 --- a/src/app/window.coffee +++ b/src/app/window.coffee @@ -138,10 +138,12 @@ window.loadStylesheet = (stylesheetPath) -> fsUtils.read(stylesheetPath) window.loadLessStylesheet = (lessStylesheetPath) -> + importPaths = atom.themes.getImportPaths() parser = new less.Parser syncImport: true - paths: config.lessSearchPaths + paths: importPaths.concat(config.lessSearchPaths) filename: lessStylesheetPath + try content = null parser.parse fsUtils.read(lessStylesheetPath), (e, tree) ->