summaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins/dapui.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/nvim/lua/plugins/dapui.lua71
1 files changed, 0 insertions, 71 deletions
diff --git a/config/nvim/lua/plugins/dapui.lua b/config/nvim/lua/plugins/dapui.lua
deleted file mode 100644
index f3fcb9c..0000000
--- a/config/nvim/lua/plugins/dapui.lua
+++ /dev/null
@@ -1,71 +0,0 @@
-return {
- "rcarriga/nvim-dap-ui",
- dependencies = {
- "mfussenegger/nvim-dap",
- "nvim-neotest/nvim-nio",
- "nvim-dap-go",
- },
- opts = {
- icons = {
- expanded = "▼",
- collapsed = "▶",
- current_frame = "→",
- },
- controls = {
- enabled = false,
- },
- mappings = {
- open = "o",
- remove = "d",
- edit = "e",
- repl = "r",
- toggle = "t",
- },
- expand_lines = vim.fn.has("nvim-0.7"),
- layouts = {
- {
- elements = {
- "repl",
- "scopes",
- },
- size = 0.3,
- position = "bottom",
- },
- },
- floating = {
- max_height = nil,
- max_width = nil,
- border = "single",
- mappings = {
- close = { "q", "<Esc>" },
- },
- },
- windows = { indent = 1 },
- render = {
- max_type_length = nil,
- },
- },
- keys = {
- {
- "<F6>",
- function()
- require("dapui").toggle()
- end,
- desc = "Toggle debug UI",
- },
- {
- "<Leader>dh",
- function()
- require("dap.ui.widgets").hover()
- end,
- desc = "Debug hover",
- },
- {
- "<Leader>dp",
- function()
- require("dap.ui.widgets").preview()
- end,
- desc = "Debug preview",
- },
- },
-}