mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00

runtime(dosini): save and restore cpo value in syntax script
Commit dd0ad2598898c2b4641c4acd5b70b6184fa698ed introduced
line-continuation. However, to make sure this does not cause an error
when Vim is run in compatible mode, we need to set compatibility mode
temporarily and reset it back when finished reading the file.
This fixes: https://groups.google.com/g/vim_use/c/9zccgo_RIqM/m/xlUmhBktBgAJ
6909639249
Co-authored-by: Christian Brabandt <cb@256bit.org>