X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/2ce54215a99b0a31154a468ad0aa56974c6fbefc..17db20e49d6577e91eadffc8d2469e56cfb406db:/.vim/after/ftplugin/python.vim?ds=inline diff --git a/.vim/after/ftplugin/python.vim b/.vim/after/ftplugin/python.vim index ffd59cf..ee9073d 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() # noqa:E402,E702