vim: Only run black for python files

This commit is contained in:
Simon Bruder 2020-07-30 10:19:50 +02:00
parent 1b7551b6b8
commit 7569fb2ae4
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -132,7 +132,7 @@ let g:rust_fold = 1
map <Leader>rt :RustTest<CR> map <Leader>rt :RustTest<CR>
" Black (python formatter) " Black (python formatter)
Plug 'psf/black', { 'branch': 'stable' } Plug 'psf/black', { 'branch': 'stable', 'for': 'python' }
" LaTeX helpers " LaTeX helpers
Plug 'lervag/vimtex' Plug 'lervag/vimtex'