vim: Add black
This commit is contained in:
parent
4701cd3c14
commit
b54a5cb4a8
1
home/.config/nvim/ftplugin/python.vim
Normal file
1
home/.config/nvim/ftplugin/python.vim
Normal file
|
@ -0,0 +1 @@
|
|||
autocmd BufWritePre * execute ':Black'
|
|
@ -103,6 +103,9 @@ Plug 'junegunn/fzf'
|
|||
Plug 'rust-lang/rust.vim'
|
||||
let g:rustfmt_autosave = 1
|
||||
|
||||
" Black (python formatter)
|
||||
Plug 'psf/black', { 'branch': 'stable' }
|
||||
|
||||
" LaTeX helpers
|
||||
Plug 'lervag/vimtex'
|
||||
let g:tex_flavor='latex'
|
||||
|
|
Reference in a new issue