Created
January 13, 2021 02:48
-
-
Save VTimofeenko/e645a85936d5a07cf8e9b5d332e0cc4c to your computer and use it in GitHub Desktop.
Making vim-syntastic work with ebuilds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" ebuild | |
augroup ebuild_vimrc | |
autocmd BufRead,BufNewFile *.ebuild set filetype=ebuild | |
" plugin | |
autocmd FileType ebuild | |
\ set statusline+=%#warningmsg# | | |
\ set statusline+=%{SyntasticStatuslineFlag()} | | |
\ set statusline+=%* | | |
\ let g:syntastic_sh_shellcheck_args = '-s bash -e "SC2034,SC2016,SC2191,SC2037"' | | |
\ let g:syntastic_always_populate_loc_list = 1 | | |
\ let g:syntastic_auto_loc_list = 1 | | |
\ let g:syntastic_check_on_open = 1 | | |
\ let g:syntastic_check_on_wq = 0 | | |
\ let b:auto_save = 1 | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment