Files
vim-polyglot/ftplugin/scss.vim
Adam Stankiewicz 2838800832 Fix conditions, #608
2020-10-25 21:08:27 +01:00

18 lines
473 B
VimL

if has_key(g:polyglot_is_disabled, 'scss')
finish
endif
if exists('b:did_indent') && b:did_indent
" be kind. allow users to override this. Does it work?
finish
endif
setlocal indentexpr=scss_indent#GetIndent(v:lnum)
" 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:*/,://