[UPDATE][VIM] Move Makefile setting to ftplugin

This commit is contained in:
Bruno BELANYI 2019-10-19 04:50:22 +02:00
parent 7de7a7ec2e
commit 62ce5480bc
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,3 @@
" Makefiles should use tabs to indent
setlocal noexpandtab
let b:undo_ftplugin.='|setlocal noexpandtab<'

View file

@ -36,8 +36,6 @@ set softtabstop=-1
set shiftround
" You shouldn't change the default tab width of 8 characters
set tabstop=8
" Makefiles should use tabs to indent
autocmd Filetype make setlocal noexpandtab
" }}}
" Plugins {{{