mirror of
https://github.com/tpope/vim-haml.git
synced 2025-12-07 01:34:25 +08:00
Add 'includeexpr' and 'suffixesadd' to Sass
This commit is contained in:
@@ -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