summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin/c.lua
diff options
context:
space:
mode:
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 99659f7..c65969c 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('x', '<LocalLeader>=', ":'<'>!clang-format -style=file<CR>", {
desc = 'Format the current selection with Clang Format',
})