view contrib/vim/indent/nginx.vim @ 7250:ec4d95eed062

Stream: set action before each recv/send while proxying. Now it's clear from log error message if the error occurred on client or upstream side.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 22 Mar 2018 18:43: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#