diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-02-02 23:23:52 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-02-02 23:23:52 +0100 |
commit | 6e9529be4e0c2b0b42e5eb51fad1c34bae6f56fc (patch) | |
tree | 4bdaa1decc2241814e5de4de04d3ee39df4b3684 /ftdetect/polyglot.vim | |
parent | 462bb76e06c9efa66cc4bae098dcc5497dd1069d (diff) | |
download | vim-polyglot-2.14.0.tar.gz vim-polyglot-2.14.0.zip |
Change scss provider to cakebaker, closes #173v2.14.0
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 721fd06a..56508dc8 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -326,7 +326,6 @@ endif " ftdetect/haml.vim if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1 -autocmd BufNewFile,BufRead *.haml,*.hamlbars,*.hamlc setf haml autocmd BufNewFile,BufRead *.sass setf sass autocmd BufNewFile,BufRead *.scss setf scss @@ -882,6 +881,14 @@ au BufRead,BufNewFile *.sbt setfiletype sbt.scala endif +" ftdetect/scss.vim +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scss') == -1 + +au BufRead,BufNewFile *.scss setfiletype scss +au BufEnter *.scss :syntax sync fromstart + +endif + " ftdetect/slim.vim if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'slim') == -1 |