File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # nvim-dap-view
2+
3+ minimalistic nvim-dap-ui alternative
4+
5+ ** Repository:** < https://github.com/igorlfs/nvim-dap-view >
Original file line number Diff line number Diff line change 1+ return {
2+ " igorlfs/nvim-dap-view" ,
3+ lazy = true ,
4+ opts = {},
5+ specs = {
6+ {
7+ " AstroNvim/astrocore" ,
8+ opts = function (_ , opts )
9+ local maps = opts .mappings
10+ maps .n [" <Leader>d" ] = vim .tbl_get (opts , " _map_sections" , " d" )
11+ maps .n [" <Leader>dE" ] = { function () require (" dap-view" ).add_expr () end , desc = " Add expression" }
12+ maps .n [" <Leader>du" ] = { function () require (" dap-view" ).toggle () end , desc = " Toggle Debugger UI" }
13+ end ,
14+ },
15+ {
16+ " mfussenegger/nvim-dap" ,
17+ optional = true ,
18+ dependencies = " igorlfs/nvim-dap-view" ,
19+ opts = function ()
20+ local dap , dap_view = require " dap" , require " dap-view"
21+ dap .listeners .after .event_initialized .dapview_config = function () dap_view .open () end
22+ dap .listeners .before .event_terminated .dapview_config = function () dap_view .close () end
23+ dap .listeners .before .event_exited .dapview_config = function () dap_view .close () end
24+ end ,
25+ },
26+ { " rcarriga/nvim-dap-ui" , enabled = false },
27+ },
28+ }
You can’t perform that action at this time.
0 commit comments