From 46d3c89c5fc432effa8289c278137e49b7c79bc0 Mon Sep 17 00:00:00 2001 From: CramMK Date: Fri, 6 Mar 2020 11:27:15 +0100 Subject: [PATCH] Adjust vim whitespaces --- dotfiles/vim/vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index e4cd179..00d2e44 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -96,9 +96,10 @@ set expandtab " tabs are spaces set smartindent " File specific indents -autocmd FileType rust setlocal shiftwidth=2 softtabstop=2 expandtab -autocmd FileType perl setlocal shiftwidth=4 softtabstop=4 expandtab -autocmd FileType yaml setlocal shiftwidth=2 softtabstop=2 expandtab +autocmd FileType rust setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab +autocmd FileType perl setlocal tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab +autocmd FileType conf setlocal tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab +autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab " Whitespaces set list