From fc66804d7bd493963b5c637eeaa42597a4b8f9fa Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Fri, 10 Dec 2021 17:56:46 +0100 Subject: [PATCH] vimrc: remove textwidth, add vim-hcl --- roles/dotfiles/files/vimrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index e0dd4a4..82c05c4 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -5,11 +5,11 @@ set cursorline syntax on " python -au BufNewFile,BufRead *.py,*.go set tabstop=4 softtabstop=4 shiftwidth=4 - \ textwidth=79 expandtab autoindent fileformat=unix -au BufNewFile,BufRead *.yaml set tabstop=2 softtabstop=2 shiftwidth=2 - \ textwidth=79 expandtab autoindent fileformat=unix -au BufNewFile,BufRead *.html,*.css set tabstop=2 softtabstop=2 shiftwidth=2 +au BufNewFile,BufRead *.py,*.go set tabstop=4 softtabstop=4 shiftwidth=4 + \ expandtab autoindent fileformat=unix +au BufNewFile,BufRead *.yaml,*.tf set tabstop=2 softtabstop=2 shiftwidth=2 + \ expandtab autoindent fileformat=unix +au BufNewFile,BufRead *.html,*.css set tabstop=2 softtabstop=2 shiftwidth=2 \ expandtab autoindent colorcolumn=0 au BufNewFile,BufRead *.launch set filetype=xml @@ -26,6 +26,7 @@ Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' Plug 'luochen1990/rainbow' Plug 'psf/black' +Plug 'jvirtanen/vim-hcl' " HCL files used by terraform " show git diff in sign column Plug 'airblade/vim-gitgutter' " Themes