Mercurial > hg > nginx
comparison contrib/vim/indent/nginx.vim @ 5460:f38043bd15f5
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.
author | Evan Miller <emmiller@gmail.com> |
---|---|
date | Wed, 04 Dec 2013 14:45:44 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5459:fedf777c6b24 | 5460:f38043bd15f5 |
---|---|
1 if exists("b:did_indent") | |
2 finish | |
3 endif | |
4 let b:did_indent = 1 | |
5 | |
6 setlocal indentexpr= | |
7 | |
8 " cindent actually works for nginx' simple file structure | |
9 setlocal cindent | |
10 " Just make sure that the comments are not reset as defs would be. | |
11 setlocal cinkeys-=0# |