From 427baf06d1f88b94a89f0db7e6ba9b2c8ce19f5b Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 15 Feb 2024 22:13:45 +0100 Subject: [PATCH] vim: set a reasonable comment string for C++ files --- config/nvim/after/ftplugin/cpp.lua | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 config/nvim/after/ftplugin/cpp.lua diff --git a/config/nvim/after/ftplugin/cpp.lua b/config/nvim/after/ftplugin/cpp.lua new file mode 100644 index 0000000..0808a68 --- /dev/null +++ b/config/nvim/after/ftplugin/cpp.lua @@ -0,0 +1,2 @@ +vim.bo.commentstring = '// %s' +