diff options
Diffstat (limited to 'indent/nginx.vim')
-rw-r--r-- | indent/nginx.vim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indent/nginx.vim b/indent/nginx.vim new file mode 100644 index 00000000..27607da6 --- /dev/null +++ b/indent/nginx.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +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# + +endif |