From 913a178e8bb7dc9f9134d807e7b63b784362e59f Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 9 May 2023 02:26:28 +0200 Subject: Add optional commented out icons for repl controls --- lua/plugins/dap.lua | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'lua') 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, -- cgit v1.2.3