aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-05-09 02:26:28 +0200
committersrdusr <trevorgray@srdusr.com>2023-05-09 02:26:28 +0200
commit913a178e8bb7dc9f9134d807e7b63b784362e59f (patch)
treebf6ba4967b123ab326549a0ed264a6b184115c6c
parent66174911fcac1a16740f04951ee0d049357ee72e (diff)
downloaddotfiles-913a178e8bb7dc9f9134d807e7b63b784362e59f.tar.gz
dotfiles-913a178e8bb7dc9f9134d807e7b63b784362e59f.zip
Add optional commented out icons for repl controls
-rw-r--r--lua/plugins/dap.lua29
1 files changed, 16 insertions, 13 deletions
diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua
index 982a525..f7fd41b 100644
--- a/lua/plugins/dap.lua
+++ b/lua/plugins/dap.lua
@@ -284,33 +284,36 @@ dapui.setup({
toggle = "t",
},
controls = {
+ element = "repl",
enabled = true,
+ --icons = {
+ -- disconnect = "",
+ -- pause = "",
+ -- play = "",
+ -- run_last = "",
+ -- step_back = "",
+ -- step_into = "",
+ -- step_out = "",
+ -- step_over = "",
+ -- terminate = "",
+ --},
},
layouts = {
{
elements = {
-- Elements can be strings or table with id and size keys.
--{ id = "scopes", size = 0.4 },
- "watches",
- "scopes",
- "breakpoints",
- "stacks",
+ { id = "watches", size = 0.25 },
+ { id = "scopes", size = 0.25 },
+ { id = "breakpoints", size = 0.25 },
+ { id = "stacks", size = 0.25 },
},
size = 50, -- 40 columns
position = "left",
},
- --{
- -- elements = {
- -- "repl",
- -- },
- -- size = 50,
- -- position = "center",
- --},
{
elements = {
- --"console",
{ id = "console", size = 0.6 },
- --"repl",
{ id = "repl", size = 0.4 },
},
size = 0.3,