refactor(nvim): keybinding mess

This commit is contained in:
Moritz Böhme 2023-10-28 15:18:59 +02:00
parent 8bc546daf0
commit 528098839d
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 30 additions and 56 deletions

View file

@ -32,9 +32,8 @@ local on_attach_def = function(client, bufnr)
"Hover",
},
["<leader>"] = {
l = {
name = "lsp",
d = { vim.diagnostic.open_float, "Open diagnostic window" },
c = {
name = "code",
c = { require("actions-preview").code_actions, "Code action", mode = { "v", "n" } },
r = {
function()