Added black

main
mandlm 2020-09-01 14:17:06 +02:00
parent 7c51568d3f
commit b0c43f4da7
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 9 additions and 3 deletions

View File

@ -39,6 +39,8 @@ Plug 'Lenovsky/nuake'
Plug 'junegunn/vim-peekaboo'
Plug 'psf/black', { 'branch': 'stable' }
Plug 'git@gitlab.softwareparadies.de:IDE/swp-vim.git'
call plug#end()
@ -148,7 +150,11 @@ nnoremap <F4> :Nuake<CR>
inoremap <F4> <C-\><C-n>:Nuake<CR>
tnoremap <F4> <C-\><C-n>:Nuake<CR>
augroup cpp_settings
augroup color_column
autocmd!
autocmd Filetype cpp set colorcolumn=101
augroup END
autocmd Filetype cpp,python set colorcolumn=101
augroup end
augroup format_black
autocmd BufWritePre *.py execute ':Black'
augroup end