diff options
author | Squibid <me@zacharyscheiman.com> | 2025-05-18 13:03:31 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-05-18 13:03:31 -0500 |
commit | 450750835a01f64377434d6be0c7869ca59b7574 (patch) | |
tree | e957a9612b3a3425200856be6656fff5cff9543a /lua/conf/plugins/dap.lua | |
parent | 77130d61af1e88855e273d042714f90323e04edf (diff) | |
download | nvim-450750835a01f64377434d6be0c7869ca59b7574.tar.gz nvim-450750835a01f64377434d6be0c7869ca59b7574.tar.bz2 nvim-450750835a01f64377434d6be0c7869ca59b7574.zip |
need I say what type of commit this is?
*kitchen sink*
Diffstat (limited to 'lua/conf/plugins/dap.lua')
-rw-r--r-- | lua/conf/plugins/dap.lua | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/lua/conf/plugins/dap.lua b/lua/conf/plugins/dap.lua index 5abe1b3..4ec6706 100644 --- a/lua/conf/plugins/dap.lua +++ b/lua/conf/plugins/dap.lua @@ -57,7 +57,7 @@ return { "mfussenegger/nvim-dap", -- define codelldb dap.adapters.codelldb = { type = "executable", - command = "codelldb", + command = "codelldb" } -- define the c configuration for codelldb @@ -79,17 +79,19 @@ return { "mfussenegger/nvim-dap", dap.configurations.rust = dap.configurations.c -- keybinds - map("n", "<Leader>ec", dap.continue, { desc = "dap continue " }) - map("n", "<Leader>el", dap.run_last, { desc = "dap run last" }) - map("n", "<Leader>et", function() + map("n", "<leader>ec", dap.continue, { desc = "dap continue " }) + map("n", "<leader>el", dap.run_last, { desc = "dap run last" }) + map("n", "<leader>et", function() dap.terminate() unset_hover_bind() end, { desc = "dap terminate " }) - map("n", "<Leader>eb", require("dap.breakpoints").toggle, { desc = "dap toggle breakpoint" }) - map("n", "<Leader>e]", dap.step_over, { desc = "dap step over" }) - map("n", "<Leader>e[", dap.step_back, { desc = "dap step back" }) - map("n", "<Leader>er", dap.repl.toggle, { desc = "dap repl toggle" }) - map("n", "<Leader>eR", dap.restart, { desc = "dap restart" }) + map("n", "<leader>eb", require("dap.breakpoints").toggle, { + desc = "dap toggle breakpoint" + }) + map("n", "<leader>e]", dap.step_over, { desc = "dap step over" }) + map("n", "<leader>e[", dap.step_back, { desc = "dap step back" }) + map("n", "<leader>er", dap.repl.toggle, { desc = "dap repl toggle" }) + map("n", "<leader>eR", dap.restart, { desc = "dap restart" }) -- events dap.listeners.after['event_initialized']['me'] = set_hover_bind |