Add *.json to filetype=json
This commit is contained in:
1
.vimrc
1
.vimrc
@@ -50,6 +50,7 @@ autocmd BufNewFile *.php call LoadPHPTemplate()
|
|||||||
"
|
"
|
||||||
" other
|
" other
|
||||||
au BufNewFile,BufRead *.psgi setf perl
|
au BufNewFile,BufRead *.psgi setf perl
|
||||||
|
au BufNewFile,BufRead *.json setf json
|
||||||
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
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user