Update lsp-general.lua

This commit is contained in:
Benjamin Kyd
2024-06-21 14:56:00 +01:00
committed by GitHub
parent a863194579
commit 7ce9e788c5

View File

@@ -180,7 +180,7 @@ lsp.on_attach(function(_, bufnr)
-- CLANGFORMATTTTT
vim.keymap.set('n', 'gf', '<Cmd>lua vim.lsp.buf.format()<CR>', opts)
vim.keymap.set('n', 'gs', '<Cmd>ClangdSwitchSourceHeader<CR>', opts)
vim.keymap.set('n', 'gd', '<Cmd>ClangdSwitchSourceHeader<CR>', opts)
vim.keymap.set('n', 'gw', '<Cmd>StripWhitespace<CR>', opts)
end)