diff options
| author | Evan Miller <emmiller@gmail.com> | 2013-12-04 14:45:44 -0800 |
|---|---|---|
| committer | Evan Miller <emmiller@gmail.com> | 2013-12-04 14:45:44 -0800 |
| commit | 61a266795466d366afcc00727cbc0a2803f492ae (patch) | |
| tree | 588b1bee1762d6ca126f5a5cd7198d2c52ec6518 /contrib/vim/indent/nginx.vim | |
| parent | 618e12f679766ae8d47a9fc2882cc55a8af440dd (diff) | |
| download | nginx-61a266795466d366afcc00727cbc0a2803f492ae.tar.gz nginx-61a266795466d366afcc00727cbc0a2803f492ae.tar.bz2 | |
Contrib: add vim scripts to contrib/ directory.
I've been maintaining these scripts independently for a while now, even though
I'm no longer active in the community. Seems to me that contrib/ is a good
long-term home for the scripts.
Diffstat (limited to 'contrib/vim/indent/nginx.vim')
| -rw-r--r-- | contrib/vim/indent/nginx.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/vim/indent/nginx.vim b/contrib/vim/indent/nginx.vim new file mode 100644 index 000000000..860136685 --- /dev/null +++ b/contrib/vim/indent/nginx.vim @@ -0,0 +1,11 @@ +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# |
