diff --git a/lua/plugins/debugger.lua b/lua/plugins/debugger.lua index 5f79325..49b7a24 100644 --- a/lua/plugins/debugger.lua +++ b/lua/plugins/debugger.lua @@ -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 = {