view contrib/vim/indent/nginx.vim @ 7797:1d207b77b44a

Simplified subrequest finalization. Now it looks similar to what it was before background subrequests were introduced in 9552758a786e.
author Roman Arutyunyan <arut@nginx.com>
date Fri, 28 Feb 2020 19:54:13 +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#