X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/34997613f623002a61f0d058789dfeabbbc0174b..2e851dd07cfcbfba242eb545111703831d31aa9a:/.vim/after/ftplugin/python.vim?ds=inline diff --git a/.vim/after/ftplugin/python.vim b/.vim/after/ftplugin/python.vim index ffd59cf..34edf01 100644 --- a/.vim/after/ftplugin/python.vim +++ b/.vim/after/ftplugin/python.vim @@ -1,2 +1,20 @@ +let python_highlight_all=1 + +let g:linelength = 79 + setlocal sw=4 setlocal sts=4 +let &l:textwidth=g:linelength +setlocal autoindent + +setlocal formatoptions+=bl + +nnoremap :Black +inoremap :Black +nnoremap :call flake8#Flake8() +inoremap :call flake8#Flake8() + +let g:flake8_quickfix_height=3 +let g:black_linelength = g:linelength + +imap t import ipdb; ipdb.set_trace()