mirror of
https://github.com/tpope/vim-haml.git
synced 2025-12-09 02:24:45 +08:00
Add 'includeexpr' and 'suffixesadd' to Sass
This commit is contained in:
@@ -8,10 +8,12 @@ if exists("b:did_ftplugin")
|
|||||||
endif
|
endif
|
||||||
let b:did_ftplugin = 1
|
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 commentstring=//\ %s
|
||||||
|
setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')
|
||||||
setlocal omnifunc=csscomplete#CompleteCSS
|
setlocal omnifunc=csscomplete#CompleteCSS
|
||||||
|
setlocal suffixesadd=.css,.sass,.scss
|
||||||
|
|
||||||
let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='
|
let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user