diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-20 17:03:05 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-20 17:03:05 +0200 |
commit | 0d90785fda42eec065fbe77a406a5682c75727af (patch) | |
tree | da51e659a269f69375e16561052850d72ff5ce7f | |
parent | 52e41555b4413b12a61c77febbf84d9f18d6991e (diff) |
nvim: Use line comments in C
-rw-r--r-- | .config/nvim/after/ftplugin/c.lua | 2 |
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', |