aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/after/ftplugin/cfg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/nvim/after/ftplugin/cfg.lua')
-rw-r--r--home/.config/nvim/after/ftplugin/cfg.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/.config/nvim/after/ftplugin/cfg.lua b/home/.config/nvim/after/ftplugin/cfg.lua
new file mode 100644
index 0000000..3e79acd
--- /dev/null
+++ b/home/.config/nvim/after/ftplugin/cfg.lua
@@ -0,0 +1,3 @@
+vim.bo.commentstring = "// %s"
+
+vim.b.undo_ftplugin = vim.b.undo_ftplugin .. "| setlocal commentstring<"