view contrib/vim/indent/nginx.vim @ 7285:88a624c9b491

Events: moved ngx_recvmsg() to new file src/event/ngx_event_udp.c.
author Roman Arutyunyan <arut@nginx.com>
date Fri, 01 Jun 2018 16:55:49 +0300
parents f38043bd15f5
children
line wrap: on
line source

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#