aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/lua.vim
diff options
context:
space:
mode:
authorPhạm Bình An <111893501+brianhuster@users.noreply.github.com>2025-04-27 18:55:15 +0700
committerGitHub <noreply@github.com>2025-04-27 04:55:15 -0700
commit923efaea28ff019d2e864e15f3f00f6d6962dc94 (patch)
treeb954f753233b7449315d9463cd532b5ddd70f4d8 /runtime/ftplugin/lua.vim
parentc2fc867843d95dd0bdd15f91e3113dcf5ed88415 (diff)
downloadrneovim-923efaea28ff019d2e864e15f3f00f6d6962dc94.tar.gz
rneovim-923efaea28ff019d2e864e15f3f00f6d6962dc94.tar.bz2
rneovim-923efaea28ff019d2e864e15f3f00f6d6962dc94.zip
fix(runtime): cpoptions is reset in Lua file #33671
closes #33670
Diffstat (limited to 'runtime/ftplugin/lua.vim')
-rw-r--r--runtime/ftplugin/lua.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/ftplugin/lua.vim b/runtime/ftplugin/lua.vim
index 7b85e81bf2..47e7eb1796 100644
--- 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: