diff options
author | Cody Hiar <codyfh@gmail.com> | 2017-03-03 14:35:19 -0700 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2017-03-03 14:35:19 -0700 |
commit | 8ea07eb8368a2c76a6ab105e295911e044f2f880 (patch) | |
tree | d9089fdbfa878081652818b52b6b0eb100fa4c75 /plugin | |
parent | 9fd11f01580375ff48bd372d818edf23e5745d16 (diff) |
Adding javascript and sass checkers
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 4 |
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 |