Update nginx source to upstream, closes #90

This commit is contained in:
Adam Stankiewicz
2015-12-06 11:45:35 +01:00
parent 0dc7696c89
commit f58692a641
5 changed files with 209 additions and 19 deletions

15
indent/nginx.vim Normal file
View File

@@ -0,0 +1,15 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
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#
endif