mirror of
https://github.com/tpope/vim-haml.git
synced 2025-12-10 02:51:51 +08:00
Sass ftplugin
This commit is contained in:
18
ftplugin/sass.vim
Normal file
18
ftplugin/sass.vim
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
" Vim filetype plugin
|
||||||
|
" Language: Sass
|
||||||
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.info>
|
||||||
|
|
||||||
|
" Only do this when not done yet for this buffer
|
||||||
|
if exists("b:did_ftplugin")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
|
let b:undo_ftplugin = "setl cms< inc< ofu<"
|
||||||
|
|
||||||
|
setlocal commentstring=//\ %s
|
||||||
|
setlocal omnifunc=csscomplete#CompleteCSS
|
||||||
|
|
||||||
|
let &l:include = '^\s*@import\s\+\%(url(\)\='
|
||||||
|
|
||||||
|
" vim:set sw=2:
|
||||||
Reference in New Issue
Block a user