commit 923efaea28ff019d2e864e15f3f00f6d6962dc94
parent c2fc867843d95dd0bdd15f91e3113dcf5ed88415
Author: Phạm Bình An <111893501+brianhuster@users.noreply.github.com>
Date: Sun, 27 Apr 2025 18:55:15 +0700
fix(runtime): cpoptions is reset in Lua file #33671
closes #33670
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/runtime/ftplugin/lua.vim b/runtime/ftplugin/lua.vim
@@ -81,4 +81,7 @@ function s:LuaInclude(fname) abort
return fname
endfunction
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
" vim: nowrap sw=2 sts=2 ts=8 noet: