...
 
Commits (2)
autocmd BufRead,BufNewFile *.nginx set filetype=nginx
autocmd BufRead,BufNewFile */etc/nginx/* set filetype=nginx
autocmd BufRead,BufNewFile */usr/local/nginx/conf/* set filetype=nginx
autocmd BufRead,BufNewFile nginx.conf set filetype=nginx
setlocal commentstring=#%s
" Make vim turn *off* expandtab for Make files. We need the tab literal
setlocal noexpandtab
setlocal commentstring=#%s
" This file came from github.com/nginx/nginx
" https://github.com/nginx/nginx/blob/555dc61b/contrib/vim/indent/nginx.vim
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
setlocal indentexpr=
" cindent actually works for nginx' simple file structure
setlocal cindent
" Just make sure that the comments are not reset as defs would be.
setlocal cinkeys-=0#
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -74,11 +74,6 @@ function! ToggleColorColumn()
endfunction
" Make vim turn *off* expandtab for files named Makefile or makefile
" We need the tab literal
autocmd BufRead,BufNewFile [Mm]akefile* setlocal noexpandtab
" Associate extensions to filetypes
autocmd BufRead,BufNewFile *.gv setlocal filetype=dot
......