Switched from black to LSC for format-on-save

main
mandlm 2020-09-02 12:06:47 +02:00
parent f359aaa6a2
commit 539f8c3c43
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 2 additions and 5 deletions

View File

@ -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