mirror of
https://github.com/nginx/nginx.git
synced 2024-12-22 15:13:28 -06:00
61a2667954
I've been maintaining these scripts independently for a while now, even though I'm no longer active in the community. Seems to me that contrib/ is a good long-term home for the scripts.
12 lines
250 B
VimL
12 lines
250 B
VimL
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#
|