summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-20 17:03:05 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-20 17:03:05 +0200
commit0d90785fda42eec065fbe77a406a5682c75727af (patch)
treeda51e659a269f69375e16561052850d72ff5ce7f /.config/nvim
parent52e41555b4413b12a61c77febbf84d9f18d6991e (diff)
nvim: Use line comments in C
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/ftplugin/c.lua2
1 files changed, 1 insertions, 1 deletions
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', '<localleader>=', ":'<'>!clang-format -style=file<CR>", {
desc = 'Format the current selection with Clang Format',