Add nvim-dap-disasm to view disassembly during debug
This commit is contained in:
parent
f08562558b
commit
bea244a4aa
@ -5,6 +5,7 @@ return {
|
||||
'kbenzie/mason.nvim',
|
||||
'jay-babu/mason-nvim-dap.nvim',
|
||||
'theHamsta/nvim-dap-virtual-text',
|
||||
'Jorenar/nvim-dap-disasm',
|
||||
},
|
||||
config = function()
|
||||
local dap = require('dap')
|
||||
@ -32,13 +33,16 @@ return {
|
||||
winbar = {
|
||||
sections = {
|
||||
"console", "watches", "scopes", "exceptions",
|
||||
"breakpoints", "threads", "repl",
|
||||
"breakpoints", "threads", "disassembly", "repl",
|
||||
},
|
||||
-- Must be one of the sections declared above
|
||||
default_section = "console",
|
||||
}
|
||||
})
|
||||
require('nvim-dap-virtual-text').setup({})
|
||||
require('dap-disasm').setup({
|
||||
dapview_register = true,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
pattern = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user