diff options
Diffstat (limited to 'runtime/indent/nginx.vim')
-rw-r--r-- | runtime/indent/nginx.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/indent/nginx.vim b/runtime/indent/nginx.vim new file mode 100644 index 000000000..d4afec1c1 --- /dev/null +++ b/runtime/indent/nginx.vim @@ -0,0 +1,17 @@ +" Vim indent file +" Language: nginx.conf +" Maintainer: Chris Aumann <me@chr4.org> +" Last Change: Apr 15, 2017 + +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# |