diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index 6b61bf4..78294b4 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -5,7 +5,6 @@ set cursorline set shell=/bin/sh syntax on -" python au BufNewFile,BufRead *.go set tabstop=4 softtabstop=4 shiftwidth=4 \ expandtab autoindent fileformat=unix au BufNewFile,BufRead *.yaml set tabstop=2 softtabstop=2 shiftwidth=2 @@ -13,6 +12,7 @@ au BufNewFile,BufRead *.yaml set tabstop=2 softtabstop=2 shiftwidth=2 au BufNewFile,BufRead *.html,*.css set tabstop=2 softtabstop=2 shiftwidth=2 \ expandtab autoindent colorcolumn=0 au BufNewFile,BufRead *.launch set filetype=xml +autocmd FileType debcontrol :set colorcolumn=80 textwidth=80 augroup py autocmd FileType python :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix autocmd FileType python nnoremap :Black :Isort