diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-01 17:48:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 17:48:09 +0800 |
commit | 8f5e90811025bcc652146168d5116f8d73fe8f81 (patch) | |
tree | ba23036eee256618c18d2e0f529ac2eee637d81c /runtime/ftplugin/cs.lua | |
parent | e7020306a19a5211c834966ec067fff3b981bdb9 (diff) | |
download | rneovim-8f5e90811025bcc652146168d5116f8d73fe8f81.tar.gz rneovim-8f5e90811025bcc652146168d5116f8d73fe8f81.tar.bz2 rneovim-8f5e90811025bcc652146168d5116f8d73fe8f81.zip |
fix(runtime): update b:undo_ftplugin in Lua runtime files (#29529)
Related to #29506, but adding vim.treesitter.stop() to b:undo_ftplugin
doesn't solve the problem yet.
Diffstat (limited to 'runtime/ftplugin/cs.lua')
-rw-r--r-- | runtime/ftplugin/cs.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/ftplugin/cs.lua b/runtime/ftplugin/cs.lua index f398d66a63..0f90644f11 100644 --- a/runtime/ftplugin/cs.lua +++ b/runtime/ftplugin/cs.lua @@ -1 +1,3 @@ vim.bo.commentstring = '// %s' + +vim.b.undo_ftplugin = vim.b.undo_ftplugin .. ' | setl commentstring<' |