1
0

Improvments to dap, lsp-cmp and trouble

- dap ui listeners
- LSPkind for symbols in suggestions'
- improving vim lua lsp support
- complete options added ( Preview )
- fixed annoying C-d not working ( had overwritten it for code actions)
- Added shortcut , s t to open a terminal at the bottom
- Added a keymap to exit terminal mode (thnx teejdev)
- set inccommand to split ( shows actions that will be taken in a split
window)
- fixed trouble suggestions toggle (C-t)
This commit is contained in:
2024-10-05 23:20:41 +02:00
parent 032d00a164
commit 52c7c5099d
6 changed files with 59 additions and 11 deletions

View File

@@ -106,6 +106,20 @@ return {
args = {'dap', '-l', '127.0.0.1:${port}'},
}
}
local dap = require("dap")
local ui = require("dapui")
dap.listeners.before.attach.dapui_config = function()
ui.open()
end
dap.listeners.before.launch.dapui_config = function()
ui.open()
end
dap.listeners.before.event_terminated.dapui_config = function()
ui.close()
end
dap.listeners.before.event_exited.dapui_config = function()
ui.close()
end
end
}
}