added syntax highlighting for nginx

This commit is contained in:
Tobias Schmidl 2018-12-28 07:07:10 +01:00
parent 3694602976
commit 20c5863573
2 changed files with 2 additions and 0 deletions

1
.vim/filetype.vim Normal file
View file

@ -0,0 +1 @@
au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif

1
.vimrc
View file

@ -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'