Added debugging tools for C can't test on debian cuz gdb too old on stable
This commit is contained in:
parent
e73701590f
commit
2e6c59d0c6
3 changed files with 33 additions and 17 deletions
|
|
@ -11,3 +11,4 @@ require("core.plugin_config.treesitter")
|
|||
require("core.plugin_config.lsp_config")
|
||||
require("core.plugin_config.completions")
|
||||
require("core.plugin_config.whichkey")
|
||||
require("core.plugin_config.dap-debug")
|
||||
|
|
|
|||
|
|
@ -84,6 +84,13 @@ local keymap = {
|
|||
w = { '<Cmd>ObsidianWorkspace<CR>', 'Switch Workspace' },
|
||||
p = { '<Cmd>ObsidianPasteImg<CR>', 'Paste Image' },
|
||||
r = { '<Cmd>ObsidianRename<CR>', 'Rename Note' },
|
||||
},
|
||||
d = {
|
||||
name = 'DAP debug tools',
|
||||
c = { function() require('dap').continue() end, 'continue/launch' },
|
||||
o = { function() require('dap').step_over() end, 'continue/launch' },
|
||||
i = { function() require('dap').step_into() end, 'continue/launch' },
|
||||
b = { function() require('dap').toggle_breakpoint() end, 'continue/launch' },
|
||||
}
|
||||
}
|
||||
-- Map window keys to leader w
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ local plugins = {
|
|||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
},
|
||||
-- install without yarn or npm
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
|
|
@ -134,6 +133,15 @@ local plugins = {
|
|||
},
|
||||
{
|
||||
"sindrets/diffview.nvim"
|
||||
},
|
||||
-- DAP Debugging Tools
|
||||
{
|
||||
"rcarriga/nvim-dap-ui",
|
||||
dependencies = {
|
||||
"mfussenegger/nvim-dap",
|
||||
"nvim-neotest/nvim-nio",
|
||||
"jay-babu/mason-nvim-dap.nvim"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue