mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 05:51:04 +00:00
nvim-dap toggle
This commit is contained in:
parent
ff34f84514
commit
b6f9df5061
2 changed files with 4 additions and 3 deletions
|
|
@ -14,12 +14,12 @@ require("lazy").setup({
|
||||||
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
-- { import = "lazyvim.plugins.extras.lang.json" },
|
-- { import = "lazyvim.plugins.extras.lang.json" },
|
||||||
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
||||||
-- import/override with your plugins
|
|
||||||
{ import = "plugins" },
|
|
||||||
|
|
||||||
-- include copilot
|
-- include copilot
|
||||||
{ import = "lazyvim.plugins.extras.coding.copilot" },
|
{ import = "lazyvim.plugins.extras.coding.copilot" },
|
||||||
{ import = "lazyvim.plugins.extras.test.core" },
|
{ import = "lazyvim.plugins.extras.test.core" },
|
||||||
|
-- import/override with your plugins - should be last since these are my customizations
|
||||||
|
{ import = "plugins" },
|
||||||
},
|
},
|
||||||
defaults = {
|
defaults = {
|
||||||
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
|
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,8 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>te", function() require("dap").repl.open() end, desc = "Debug T(e)rminal" },
|
-- https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt
|
||||||
|
{ "<leader>te", function() require("dap").repl.toggle() end, desc = "Debug Toggle" },
|
||||||
{ "<leader>tn", function() require("dap").continue() end, desc = "Debug Next/Continue" },
|
{ "<leader>tn", function() require("dap").continue() end, desc = "Debug Next/Continue" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue