X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3f68af9813542a5e277b7a51b316644241c372d7..d1aee5f7fa136b1f0a7d8dfc318af81009074070:/.vim/after/ftplugin/python.vim?ds=sidebyside 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