mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-01 00:21:13 +00:00
[neovim] Improve dap experience
This commit is contained in:
parent
418c42bda2
commit
f25a72ce2a
@ -7,7 +7,10 @@ bufferline.setup({
|
|||||||
options = {
|
options = {
|
||||||
close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
||||||
right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
|
||||||
offsets = { { filetype = "neo-tree", text = "", padding = 1 } },
|
offsets = {
|
||||||
|
{ filetype = "neo-tree", text = "", padding = 1 },
|
||||||
|
{ filetype = "dapui_scopes", text = "", padding = 1 },
|
||||||
|
},
|
||||||
separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' },
|
separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' },
|
||||||
},
|
},
|
||||||
highlights = {
|
highlights = {
|
||||||
|
@ -14,7 +14,28 @@ if not dap_install_status_ok then
|
|||||||
end
|
end
|
||||||
|
|
||||||
dap_install.config("python", {})
|
dap_install.config("python", {})
|
||||||
dapui.setup({})
|
dapui.setup({
|
||||||
|
layouts = {
|
||||||
|
{
|
||||||
|
elements = {
|
||||||
|
{ id = "scopes", size = 0.25 },
|
||||||
|
"watches",
|
||||||
|
"stacks",
|
||||||
|
"breakpoints",
|
||||||
|
},
|
||||||
|
size = 50, -- columns
|
||||||
|
position = "left",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
elements = {
|
||||||
|
"repl",
|
||||||
|
-- "console",
|
||||||
|
},
|
||||||
|
size = 0.25, -- 25% of total lines
|
||||||
|
position = "bottom",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "DiagnosticSignError", linehl = "", numhl = "" })
|
vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "DiagnosticSignError", linehl = "", numhl = "" })
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@ require("plugins.lualine")
|
|||||||
require("plugins.illuminate")
|
require("plugins.illuminate")
|
||||||
require("plugins.indentline")
|
require("plugins.indentline")
|
||||||
require("plugins.lsp")
|
require("plugins.lsp")
|
||||||
require("plugins.dap")
|
|
||||||
require("plugins.go")
|
require("plugins.go")
|
||||||
|
require("plugins.dap")
|
||||||
require("plugins.outline")
|
require("plugins.outline")
|
||||||
require("plugins.wilder")
|
require("plugins.wilder")
|
||||||
require("plugins.trouble")
|
require("plugins.trouble")
|
||||||
|
Loading…
Reference in New Issue
Block a user