Skip to content

Commit

Permalink
Add eval under cursor DAP keybind
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed May 17, 2024
1 parent f610680 commit fdd7ad3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/nixvim/dap.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ in {
key = "<leader>b";
action = ":lua require('dap').toggle_breakpoint()<cr>";
})
# Eval var under cursor
(keymap {
key = "<leader>?";
action = ":lua require('dapui').eval(nil, { enter = true })<cr>";
})
];
# launch dap-ui on debugger commands
extraConfigLua = ''
Expand Down

0 comments on commit fdd7ad3

Please sign in to comment.