From 0d90785fda42eec065fbe77a406a5682c75727af Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 20 Jun 2024 17:03:05 +0200 Subject: nvim: Use line comments in C --- .config/nvim/after/ftplugin/c.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim/after') diff --git a/.config/nvim/after/ftplugin/c.lua b/.config/nvim/after/ftplugin/c.lua index 23262f2..99659f7 100644 --- a/.config/nvim/after/ftplugin/c.lua +++ b/.config/nvim/after/ftplugin/c.lua @@ -1,4 +1,4 @@ -vim.bo.commentstring = '/* %s */' +vim.bo.commentstring = '// %s' vim.keymap.set('v', '=', ":'<'>!clang-format -style=file", { desc = 'Format the current selection with Clang Format', -- cgit v1.2.3