From 7fc21c978e28704b20bceafd896428d3495da9ec Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 4 Feb 2020 13:28:43 +0100 Subject: [PATCH] [ADD][VIM] Use tabs in gitconfig --- vim/.vim/after/ftplugin/gitconfig.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/.vim/after/ftplugin/gitconfig.vim diff --git a/vim/.vim/after/ftplugin/gitconfig.vim b/vim/.vim/after/ftplugin/gitconfig.vim new file mode 100644 index 0000000..1ff3ac0 --- /dev/null +++ b/vim/.vim/after/ftplugin/gitconfig.vim @@ -0,0 +1,6 @@ +" Create the `b:undo_ftplugin` variable if it doesn't exist +call ftplugined#check_undo_ft() + +" Git configuration files should use tabs to indent +setlocal noexpandtab +let b:undo_ftplugin.='|setlocal noexpandtab<'