added syntax highlighting for nginx
This commit is contained in:
parent
3694602976
commit
20c5863573
2 changed files with 2 additions and 0 deletions
1
.vim/filetype.vim
Normal file
1
.vim/filetype.vim
Normal file
|
@ -0,0 +1 @@
|
||||||
|
au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif
|
1
.vimrc
1
.vimrc
|
@ -6,6 +6,7 @@ set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
call vundle#begin()
|
call vundle#begin()
|
||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
Plugin 'vim-scripts/nginx.vim'
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
Plugin 'tpope/vim-sleuth'
|
Plugin 'tpope/vim-sleuth'
|
||||||
Plugin 'suan/vim-instant-markdown'
|
Plugin 'suan/vim-instant-markdown'
|
||||||
|
|
Loading…
Reference in a new issue