diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-11 22:19:47 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-11 22:19:47 +0200 |
commit | e4ee5b68af2ac10b8bf3aa33aeafb1f98c5ab5d9 (patch) | |
tree | 26fb28c659306262c79d59b190599ef7e8aa6b97 /.config/nvim/after | |
parent | f6cce8f1ae6361117e8689001dc0344e0d3b9b77 (diff) |
nvim: Don’t pass ‘-’ to clang-format
Diffstat (limited to '.config/nvim/after')
-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', }) |