aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index a864cb5..f73b4d3 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -38,6 +38,7 @@ autocmd FileType sh setlocal tabstop=4
autocmd FileType javascript setlocal tabstop=4
autocmd FileType json setlocal tabstop=4
autocmd FileType make setlocal tabstop=4 noexpandtab
+autocmd FileType scss setlocal tabstop=2
" Make netrw prettier
let g:netrw_banner = 0 " Hide the banner
let g:netrw_liststyle = 3 " Tree view
@@ -267,8 +268,9 @@ endif
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob(EditorDir.'plugged/syntastic/plugin/syntastic.vim'))
let g:syntastic_php_checkers = ['php', 'phpcs']
- let g:syntastic_php_phpcs_args = "--standard=".$HOME."/PEARish.xml,PSR2,Symfony2"
let g:syntastic_javascript_checkers = ['eslint']
+ let g:syntastic_scss_checkers = ['sass_lint']
+ let g:syntastic_php_phpcs_args = "--standard=".$HOME."/PEARish.xml,PSR2,Symfony2"
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 0
let g:syntastic_check_on_open = 1