diff --git a/pack/packages/start/loadlsp/autoload/loadlsp.vim b/pack/packages/start/loadlsp/autoload/loadlsp.vim index 754b9ab..43bed52 100644 --- a/pack/packages/start/loadlsp/autoload/loadlsp.vim +++ b/pack/packages/start/loadlsp/autoload/loadlsp.vim @@ -138,6 +138,8 @@ vim.api.nvim_set_keymap("n", "", "lua vim.lsp.buf.code_action()", --vim.api.nvim_set_keymap("n", "", "lua vim.lsp.diagnostic.goto_next()", {noremap = true}) vim.api.nvim_set_keymap("n", "", "lua vim.diagnostic.goto_next()", {noremap = true}) vim.api.nvim_set_keymap("n", "", "lua vim.diagnostic.goto_prev()", {noremap = true}) +-- Get diagnostic on currently selected +vim.api.nvim_set_keymap("n", "", "lua vim.diagnostic.open_float()", {noremap = true}) EOF