diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-11 22:19:47 +0200 |
---|---|---|
committer | Thomas Voss <thomas.voss@humanwave.nl> | 2024-06-12 18:49:56 +0200 |
commit | 85ec4336c8dcbdd4a5b72fde7fae702a19bb3f6c (patch) | |
tree | 3e5ea0dd6c42abf324e942566165fff677c1eb70 /.config/nvim/after/ftplugin/c.lua | |
parent | c3e4bf8bced931102e93b5487b0c00d200864624 (diff) |
nvim: Don’t pass ‘-’ to clang-format
Diffstat (limited to '.config/nvim/after/ftplugin/c.lua')
-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 2c378f4..23262f2 100644 --- a/.config/nvim/after/ftplugin/c.lua +++ b/.config/nvim/after/ftplugin/c.lua @@ -1,6 +1,6 @@ vim.bo.commentstring = '/* %s */' -vim.keymap.set('v', '<localleader>=', ":'<'>!clang-format -style=file -<CR>", { +vim.keymap.set('v', '<localleader>=', ":'<'>!clang-format -style=file<CR>", { desc = 'Format the current selection with Clang Format', }) |