summaryrefslogblamecommitdiffstats
path: root/indent/nginx.vim
blob: cd0af59f4f18379a9b7db0b7a97fc18ea2800383 (plain) (tree)
1
2
3
4
                                                         

        
 










                                                                  
if !polyglot#util#IsEnabled('nginx', expand('<sfile>:p'))
  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#