Mark *.mk as noexpandtab

This commit is contained in:
Gea-Suan Lin
2012-04-16 18:21:25 +08:00
parent d492f5e583
commit 2916fccc93

3
.vimrc
View File

@@ -59,8 +59,9 @@ autocmd BufNewFile *.php call LoadPHPTemplate()
autocmd BufNewFile *.sh call LoadShellTemplate() autocmd BufNewFile *.sh call LoadShellTemplate()
" "
" other " other
au BufNewFile,BufRead *.psgi setf perl au BufNewFile,BufRead *.mk set noexpandtab
au BufNewFile,BufRead *.json setf json au BufNewFile,BufRead *.json setf json
au BufNewFile,BufRead *.psgi setf perl
au BufNewFile,BufRead Makefile set noexpandtab au BufNewFile,BufRead Makefile set noexpandtab
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
" "