diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-06-21 23:06:47 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-06-21 23:06:47 -0500 |
| commit | 56a98496230ef62dc61c1e92051ba2397a298f5f (patch) | |
| tree | 1390281b20020a01e1272ef185718e4e458e1c82 /env/.config/nvim/after/plugin | |
| parent | 3252a201c13a251f3c3bfbc881e3d2712a985467 (diff) | |
configs. fixed misspell. added gen-thumb-md.
generates thumbnails for videos and puts all video and non video in a markdown file
Diffstat (limited to 'env/.config/nvim/after/plugin')
| -rw-r--r-- | env/.config/nvim/after/plugin/dap.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/env/.config/nvim/after/plugin/dap.lua b/env/.config/nvim/after/plugin/dap.lua index b52a5e4..9e16f83 100644 --- a/env/.config/nvim/after/plugin/dap.lua +++ b/env/.config/nvim/after/plugin/dap.lua @@ -32,7 +32,8 @@ if ok then vim.keymap.set("n", "<Leader>dl", function() dap.step_into() end) vim.keymap.set("n", "<Leader>dj", function() dap.step_over() end) vim.keymap.set("n", "<Leader>dk", function() dap.step_out() end) - vim.keymap.set("n", "<Leader>dc", function() dap.continue() end) + vim.keymap.set("n", "<Leader>dc", function() dap.run(dap.configurations.rust[1]) end) + vim.keymap.set("n", "<Leader>dC", function() dap.continue() end) vim.keymap.set("n", "<Leader>db", function() dap.toggle_breakpoint() end) vim.keymap.set("n", "<Leader>dB", function() dap.set_breakpoint(vim.fn.input('Breakpoint condition: ')) @@ -65,6 +66,7 @@ if ok then request = "launch", program = function() --return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/target/debug/", "file") + vim.fn.jobstart('cargo build') if vim.fn.expand("%:t:r") == "main" then return vim.fn.getcwd() .. "/target/debug/" .. vim.fn.fnamemodify(vim.fn.getcwd(), ':t') else |
