Switched from black to LSC for format-on-save
parent
f359aaa6a2
commit
539f8c3c43
|
@ -3,7 +3,6 @@ call plug#begin(stdpath('data') . '/plugged')
|
|||
Plug 'altercation/vim-colors-solarized'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
|
||||
Plug 'Shougo/vimproc.vim', {'do': 'make'}
|
||||
Plug 'rhysd/vim-clang-format'
|
||||
|
||||
Plug 'derekwyatt/vim-fswitch'
|
||||
|
@ -41,8 +40,6 @@ Plug 'junegunn/vim-peekaboo'
|
|||
|
||||
Plug 'alfredodeza/pytest.vim'
|
||||
|
||||
Plug 'psf/black', { 'branch': 'stable' }
|
||||
|
||||
Plug 'git@gitlab.softwareparadies.de:IDE/swp-vim.git'
|
||||
|
||||
call plug#end()
|
||||
|
@ -169,6 +166,6 @@ augroup color_column
|
|||
autocmd Filetype cpp,python set colorcolumn=101
|
||||
augroup end
|
||||
|
||||
augroup format_black
|
||||
autocmd BufWritePre *.py execute ':Black'
|
||||
augroup auto_format
|
||||
autocmd BufWritePre *.py :call LanguageClient#textDocument_formatting_sync()
|
||||
augroup end
|
||||
|
|
Loading…
Reference in New Issue