Files
vim-polyglot/indent/nginx.vim
Adam Stankiewicz 2838800832 Fix conditions, #608
2020-10-25 21:08:27 +01:00

16 lines
310 B
VimL

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#