mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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:
committed by
Christian Clason
parent
5aa35691ab
commit
34b4df774d
@@ -1,7 +1,14 @@
|
||||
" Language: Vim Tutor
|
||||
" Maintainer: Vim Project
|
||||
" Last Change: 2025 Apr 16
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
syn include @VIM syntax/vim.vim
|
||||
unlet b:current_syntax
|
||||
syn include @TUTORSHELL syntax/sh.vim
|
||||
@@ -77,3 +84,5 @@ hi def link tutorInlineX tutorX
|
||||
hi def link tutorShellPrompt Delimiter
|
||||
|
||||
let b:current_syntax = "tutor"
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
Reference in New Issue
Block a user