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 /ftplugin/scss.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 'ftplugin/scss.vim')
-rw-r--r-- | ftplugin/scss.vim | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ftplugin/scss.vim b/ftplugin/scss.vim index e95b70f5..55519c31 100644 --- a/ftplugin/scss.vim +++ b/ftplugin/scss.vim @@ -1,17 +1,17 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1 +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scss') == -1 -" Vim filetype plugin -" Language: SCSS -" Maintainer: Tim Pope <vimNOSPAM@tpope.org> -" Last Change: 2010 Jul 26 - -if exists("b:did_ftplugin") +if exists('b:did_indent') && b:did_indent + " be kind. allow users to override this. Does it work? finish endif -runtime! ftplugin/sass.vim -setlocal comments=s1:/*,mb:*,ex:*/,:// +setlocal indentexpr=scss_indent#GetIndent(v:lnum) -" vim:set sw=2: +" Automatically insert the current comment leader after hitting <Enter> +" in Insert mode respectively after hitting 'o' or 'O' in Normal mode +setlocal formatoptions+=ro + +" SCSS comments are either /* */ or // +setlocal comments=s1:/*,mb:*,ex:*/,:// endif |