mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-11 04:53:51 -05:00
16 lines
324 B
VimL
16 lines
324 B
VimL
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#
|