From e4ee5b68af2ac10b8bf3aa33aeafb1f98c5ab5d9 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 11 Jun 2024 22:19:47 +0200 Subject: nvim: Don’t pass ‘-’ to clang-format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/after/ftplugin/c.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim') 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', '=', ":'<'>!clang-format -style=file -", { +vim.keymap.set('v', '=', ":'<'>!clang-format -style=file", { desc = 'Format the current selection with Clang Format', }) -- cgit v1.2.3