runtime: set 'cpoptions' for line-continuation in various runtime files

closes: #17121

Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Eisuke Kawashima
2025-04-16 18:20:59 +02:00
committed by Christian Brabandt
parent 470317f78b
commit fbbaa6ebe9
15 changed files with 108 additions and 3 deletions

View File

@ -3,12 +3,16 @@
" Maintainer: Vito <vito.blog@gmail.com>
" Last Change: 2024 Apr 17
" Upstream: https://github.com/vito-c/jq.vim
" 2025 Apr 16 by Vim Project (set 'cpoptions' for line continuation, #17121)
"
" Quit when a (custom) syntax file was already loaded
if exists('b:current_syntax')
finish
endif
let s:cpo_save = &cpo
set cpo&vim
" syn include @jqHtml syntax/html.vim " Doc comment HTML
" jqTodo
@ -128,3 +132,6 @@ hi def link jqString String
hi def link jqInterpolationDelimiter Delimiter
hi def link jqConditional Conditional
hi def link jqNumber Number
let &cpo = s:cpo_save
unlet s:cpo_save