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

closes: vim/vim#17121

fbbaa6ebe9

Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
This commit is contained in:
Christian Clason
2025-04-16 20:04:53 +02:00
committed by Christian Clason
parent 5aa35691ab
commit 34b4df774d
15 changed files with 108 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
" Maintainer: Avid Seeker <avidseeker7@protonmail.com>
" Andy Hammerlindl
" Last Change: 2022 Jan 05
" 2025 Apr 16 by Vim Project (set 'cpoptions' for line continuation, #17121)
" Hacked together from Bram Moolenaar's C syntax file, and Claudio Fleiner's
" Java syntax file.
@@ -11,6 +12,9 @@ if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
" useful C/C++/Java keywords
syn keyword asyStatement break return continue unravel
syn keyword asyConditional if else
@@ -241,3 +245,5 @@ hi def link asyTodo Todo
hi def link asyPathSpec Statement
let b:current_syntax = "asy"
let &cpo = s:cpo_save
unlet s:cpo_save