view contrib/vim/indent/nginx.vim @ 7010:c1524829af3d

Configure: sched_setaffinity() test moved to auto/unix. The sched_setaffinity() function was introduced in DragonFly BSD 4.7, so it is no longer Linux-specific. Prodded by Sepherosa Ziehau.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 29 May 2017 16:48:30 +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#