diff --git a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua index eafa77c4..fc7742a1 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua @@ -33,10 +33,7 @@ vim.keymap.set("n", "ll", ":lua print(vim.inspect(vim.lsp.buf.list_works vim.keymap.set("n", "ln", ":IncRename ") vim.keymap.set("n", "lc", ":CodeActionMenu") vim.keymap.set("n", "lr", ":lua vim.lsp.buf.references()") -vim.keymap.set("n", "lR", function() - vim.diagnostic.reset() - vim.cmd(":LspRestart") -end) +vim.keymap.set("n", "lR", ":LspRestart") vim.keymap.set("n", "ls", ":lua vim.diagnostic.open_float(nil, {focus=false, scope='cursor'})") vim.keymap.set("n", "lf", ":lua vim.lsp.buf.format({ async = true })") vim.keymap.set("n", "[l", ":lua vim.diagnostic.goto_prev()")