From 61a266795466d366afcc00727cbc0a2803f492ae Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Wed, 4 Dec 2013 14:45:44 -0800 Subject: 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. --- contrib/vim/indent/nginx.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 contrib/vim/indent/nginx.vim (limited to 'contrib/vim/indent/nginx.vim') 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# -- cgit