diff --git a/symlinks/config/nvim/plugin/dap.lua b/symlinks/config/nvim/plugin/dap.lua index 58f3e62..53d4969 100644 --- a/symlinks/config/nvim/plugin/dap.lua +++ b/symlinks/config/nvim/plugin/dap.lua @@ -45,7 +45,8 @@ dap.listeners.after["event_initialized"]["me"] = function() end end end - api.nvim_set_keymap("n", "K", 'lua require("dap.ui.variables").hover()', {silent = true}) + api.nvim_set_keymap("n", "K", 'lua require("dapui").eval()', {silent = true}) + api.nvim_set_keymap("v", "K", 'lua require("dapui").eval()', {silent = true}) end dap.listeners.after["event_terminated"]["me"] = function()