]> git.kaiwu.me - nginx.git/commit
Contrib: vim syntax adjusted to save cpoptions (ticket #2276).
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 21 Jan 2022 21:28:51 +0000 (00:28 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 21 Jan 2022 21:28:51 +0000 (00:28 +0300)
commit7ba3063952f53b710d092f00881ccc2996c3b5fc
tree4fd4d5a150379a8b4bc3d11c3c58995f878ea2f7
parent950390108cbb8431845635176c36466653b05487
Contrib: vim syntax adjusted to save cpoptions (ticket #2276).

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".
contrib/vim/syntax/nginx.vim