Add debugging stuff to keybinds

This commit is contained in:
elkowar 2021-10-11 18:24:53 +02:00
parent f46a8231a0
commit a7b6ba71df
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
2 changed files with 11 additions and 0 deletions

View file

@ -47,6 +47,16 @@
"n" [(. (require :persistence) :load) "Load last session"]
"d" {:name "+Debugging"
"b" [#(req dap.toggle_breakpoint) "toggle breakpoint"]
"u" [#(req dapui.toggle) "toggle dapui"]
"c" [#(req dap.step_into) "continue"]
"r" [(. (require "dap") :repl :open) "open repl"]
"s" {:name "+Step"
"o" [#(req dap.step_over) "over"]
"u" [#(req dap.step_out) "out"]
"i" [#(req dap.step_into) "into"]}}
"m" {:name "+Code actions"
"d" (cmd "Lspsaga hover_doc" "Show documentation")
"b" (cmd "Lspsaga lsp_finder" "Find stuff")

View file

@ -200,6 +200,7 @@
:tommcdo/vim-exchange {}
:eraserhd/parinfer-rust {:run "cargo build --release"}
:cespare/vim-toml {}
:bduggan/vim-raku {:ft ["raku"]}
:LnL7/vim-nix {:ft ["nix"]}
:kevinoid/vim-jsonc {}