summaryrefslogtreecommitdiffhomepage
path: root/contrib/vim (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-05-22Contrib: proper syntax parsing in vim syntax highlighting.Maxim Dounin1-1711/+1741
Instead of highlighting directives in arbitrary positions, proper parsing of nginx.conf syntax was implemented, matching what nginx does internally. This allows vim to correctly highlight various complex cases, including: return 301 http://example.com/path#fragment"; and also avoids highlighting of parameters as directives, as in server_name missing.semicolon.example.com index index.php; where "index" is not a directive but a parameter of the "server_name" directive due to missing semicolon. Most important downside of this approach seems to be that there is no easy way to introduce directive-specific parameters. As such, only "listen" directive parameters were preserved.
2017-03-01Contrib: vim syntax, update 3rd party module directives.othree1-137/+1330
2017-02-24Contrib: vim syntax, update core module directives.othree1-0/+90
2017-02-22Contrib: vim syntax, listen option and SSL/Mail protocol keywords.othree1-6/+31
2016-12-13Contrib: added 'commentstring' for vim-commentary support.Armin Grodon1-0/+1
2016-04-07Fixed spelling.Josh Soref1-1/+1
2016-03-31Removed the prototype mysql module.Ruslan Ermilov1-1/+1
2014-10-22Contrib: add more directives to vim syntax.Peter Wu1-50/+183
uwsgi is not a third-party module anymore. 'split_clients' is a new block directive type. The directives were automatically extracted from the ngx_command_t arrays, sorted in the C locale and inserted. Trailing spaces got removed at some places.
2013-12-04Contrib: add vim scripts to contrib/ directory.Evan Miller3-0/+718
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.