mirror of
https://github.com/tpope/vim-haml.git
synced 2026-10-24 22:57:23 +08:00
Add 'includeexpr' and 'suffixesadd' to Sass
This commit is contained in:
1 parent
6228a6a1ef
commit
358eb131ec
1 file changed
+3
-1
+3
-1
@@ -8,10 +8,12 @@ if exists("b:did_ftplugin")
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
let b:undo_ftplugin = "setl cms< inc< ofu<"
|
||||
let b:undo_ftplugin = "setl cms< inc< inex< ofu< sua<"
|
||||
|
||||
setlocal commentstring=//\ %s
|
||||
setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')
|
||||
setlocal omnifunc=csscomplete#CompleteCSS
|
||||
setlocal suffixesadd=.css,.sass,.scss
|
||||
|
||||
let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='
|
||||
|
||||
|
||||
Reference in new issue
Block a user