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