[UPDATE][VIM] Move Makefile setting to ftplugin
This commit is contained in:
parent
7de7a7ec2e
commit
62ce5480bc
3
vim/.vim/after/ftplugin/make.vim
Normal file
3
vim/.vim/after/ftplugin/make.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
" Makefiles should use tabs to indent
|
||||
setlocal noexpandtab
|
||||
let b:undo_ftplugin.='|setlocal noexpandtab<'
|
|
@ -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 {{{
|
||||
|
|
Loading…
Reference in a new issue