vimrc: add filetype debcontrol config
All checks were successful
dotfiles/pipeline/head This commit looks good

This commit is contained in:
Johannes Rothe 2022-02-23 08:43:14 +01:00 committed by Johannes Rothe
parent 1de3ee069a
commit 69b83bfa38

View File

@ -5,7 +5,6 @@ set cursorline
set shell=/bin/sh set shell=/bin/sh
syntax on syntax on
" python
au BufNewFile,BufRead *.go set tabstop=4 softtabstop=4 shiftwidth=4 au BufNewFile,BufRead *.go set tabstop=4 softtabstop=4 shiftwidth=4
\ expandtab autoindent fileformat=unix \ expandtab autoindent fileformat=unix
au BufNewFile,BufRead *.yaml set tabstop=2 softtabstop=2 shiftwidth=2 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 au BufNewFile,BufRead *.html,*.css set tabstop=2 softtabstop=2 shiftwidth=2
\ expandtab autoindent colorcolumn=0 \ expandtab autoindent colorcolumn=0
au BufNewFile,BufRead *.launch set filetype=xml au BufNewFile,BufRead *.launch set filetype=xml
autocmd FileType debcontrol :set colorcolumn=80 textwidth=80
augroup py augroup py
autocmd FileType python :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix autocmd FileType python :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
autocmd FileType python nnoremap <F9> :Black<CR> :Isort <CR> autocmd FileType python nnoremap <F9> :Black<CR> :Isort <CR>