vimrc: remove textwidth, add vim-hcl

This commit is contained in:
Johannes Rothe 2021-12-10 17:56:46 +01:00 committed by Johannes Rothe
parent 9843240886
commit fc66804d7b

View File

@ -5,11 +5,11 @@ set cursorline
syntax on syntax on
" python " python
au BufNewFile,BufRead *.py,*.go set tabstop=4 softtabstop=4 shiftwidth=4 au BufNewFile,BufRead *.py,*.go set tabstop=4 softtabstop=4 shiftwidth=4
\ textwidth=79 expandtab autoindent fileformat=unix \ expandtab autoindent fileformat=unix
au BufNewFile,BufRead *.yaml set tabstop=2 softtabstop=2 shiftwidth=2 au BufNewFile,BufRead *.yaml,*.tf set tabstop=2 softtabstop=2 shiftwidth=2
\ textwidth=79 expandtab autoindent fileformat=unix \ expandtab autoindent fileformat=unix
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
@ -26,6 +26,7 @@ Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'luochen1990/rainbow' Plug 'luochen1990/rainbow'
Plug 'psf/black' Plug 'psf/black'
Plug 'jvirtanen/vim-hcl' " HCL files used by terraform
" show git diff in sign column " show git diff in sign column
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
" Themes " Themes