aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/cs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/cs.lua')
-rw-r--r--runtime/ftplugin/cs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/cs.lua b/runtime/ftplugin/cs.lua
index 0f90644f11..89ab42ef54 100644
--- a/runtime/ftplugin/cs.lua
+++ b/runtime/ftplugin/cs.lua
@@ -1,3 +1,3 @@
vim.bo.commentstring = '// %s'
-vim.b.undo_ftplugin = vim.b.undo_ftplugin .. ' | setl commentstring<'
+vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '') .. '\n setl commentstring<'