summaryrefslogtreecommitdiffhomepage
path: root/contrib/vim/syntax (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-07-24Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-124/+93
List of 3rd party modules github repositories was obtained from https://github.com/freebsd/freebsd-ports/blob/main/www/nginx-devel/Makefile.extmod
2022-06-18Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-748/+264
List of 3rd party modules github repositories are obtained from https://github.com/freebsd/freebsd-ports/blob/main/www/nginx-devel/Makefile.extmod
2022-01-22Contrib: vim syntax adjusted to save cpoptions (ticket #2276).Maxim Dounin1-0/+6
Line continuation as used in the syntax file might be broken if "compatible" is set or "C" is added to cpoptions. Fix is to set the "cpoptions" option to vim default value at script start and restore it later, see ":help use-cpo-save".
2021-12-20Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-1/+39
2021-05-30Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-2/+13
2021-02-25Contrib: vim syntax, default highlighting (ticket #2141).Maxim Dounin1-21/+21
Using default highlighting makes it possible to easily overrule highlighting specified in the syntax file, see ":highlight-default" in vim help for details.
2020-12-29Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-6/+37
2020-05-26Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-8/+78
2019-06-30Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-0/+5
2018-12-24Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-7/+72
2018-03-18Contrib: vim syntax, update core and 3rd party module directives.Gena Makhomed1-14/+44
2018-02-01Contrib: vim syntax, update 3rd party module directives.Gena Makhomed1-0/+5
Add new directives for 3rd party modules.
2018-02-01Contrib: vim syntax, update core module directives.Gena Makhomed1-2/+2
"match" is block directive, "upstream_conf" is deprecated by patch http://hg.nginx.org/nginx.org/rev/27c53e1cb4b6
2017-12-28Contrib: vim syntax, update core module directives.Gena Makhomed1-11/+0
Removed non-existent directives and directive redefinitions.
2017-12-28Contrib: vim syntax, update 3rd party module directives.Gena Makhomed1-1213/+1272
3rd party modules list synchronized with FreeBSD nginx-devel port.
2017-12-25Contrib: vim syntax, listen options.Gena Makhomed1-3/+7
2017-12-25Contrib: vim syntax, update core module directives.Gena Makhomed1-17/+24
2017-12-25Contrib: updated vim syntax rules for variables.Maxim Dounin1-3/+3
Non-quoted parameters are allowed to contain variables in curly brackets (see d91a8c4ac6bb), so vim syntax rules were adjusted accordingly.
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-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 Miller1-0/+703
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.