summaryrefslogtreecommitdiffstats
path: root/indent/nginx.vim
blob: 0e0948552629eb5fd9db1095c9cdcaa2d3d6d4a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if has_key(g:polyglot_is_disabled, 'nginx')
  finish
endif

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#