feat: effectively finish nvf as ide #10
This commit is contained in:
parent
ab4113b74d
commit
3f82161bae
16 changed files with 564 additions and 53 deletions
32
users/modules/programs/nvf/debugger.nix
Normal file
32
users/modules/programs/nvf/debugger.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
programs.nvf.settings.vim.debugger.nvim-dap = {
|
||||
# nvim-dap enables debugging
|
||||
# you can set breakpoints and step through code or use a REPL
|
||||
enable = true;
|
||||
mappings = {
|
||||
# default mappings:
|
||||
# - Continue:<leader>dc
|
||||
# - Go down stacktrace:<leader>dvi
|
||||
# - Go up stacktrace:<leader>dvo
|
||||
# - Hover:<leader>dh
|
||||
# - Restart:<leader>dR
|
||||
# - Re-run Last Debug Session:<leader>d.
|
||||
# - Continue to the current cursor:<leader>dgc
|
||||
# - Step back:<leader>dgk
|
||||
# - Step into function:<leader>dgi
|
||||
# - Step out of function:<leader>dgo
|
||||
# - Next step:<leader>dgj
|
||||
# - Terminate:<leader>dq
|
||||
# - Toggle breakpoint:<leader>db
|
||||
# - Toggle DAP-UI:<leader>du
|
||||
# - Toggle Repl:<leader>dr
|
||||
};
|
||||
# list of debuggers to install
|
||||
sources = {};
|
||||
# install nvim-dap-ui which provides a debugging ui
|
||||
ui = {
|
||||
enable = true;
|
||||
setupOpts = {};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue