|
@@ -4,6 +4,8 @@ syntax on
|
|
|
set encoding=utf-8
|
|
|
set ruler " Show us our row and column
|
|
|
|
|
|
+"let g:python3_host_prog = '/opt/homebrew/bin/python3'
|
|
|
+
|
|
|
" Accomodate a dark background
|
|
|
set background=dark
|
|
|
|
|
@@ -82,6 +84,7 @@ Plugin 'hashivim/vim-terraform'
|
|
|
Plugin 'vim-syntastic/syntastic'
|
|
|
"Plugin 'juliosueiras/vim-terraform-completion'
|
|
|
Plugin 'saltstack/salt-vim'
|
|
|
+Plugin 'psf/black'
|
|
|
|
|
|
" All of your Plugins must be added before the following line
|
|
|
call vundle#end() " required
|
|
@@ -145,4 +148,11 @@ let g:terraform_fmt_on_save=1
|
|
|
let g:syntastic_python_python_exec = 'python3'
|
|
|
let g:syntastic_python_checkers = ['python']
|
|
|
|
|
|
+let g:syntastic_sh_checkers = ['shellcheck']
|
|
|
+
|
|
|
+augroup black_on_save
|
|
|
+ autocmd!
|
|
|
+ autocmd BufWritePre *.py Black
|
|
|
+augroup end
|
|
|
+
|
|
|
au BufRead * normal zR
|