summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin/c.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-11 22:19:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-11 22:19:47 +0200
commite4ee5b68af2ac10b8bf3aa33aeafb1f98c5ab5d9 (patch)
tree26fb28c659306262c79d59b190599ef7e8aa6b97 /.config/nvim/after/ftplugin/c.lua
parentf6cce8f1ae6361117e8689001dc0344e0d3b9b77 (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.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 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',
})