diff --git a/.config/nvim/lua/blake/dap.lua b/.config/nvim/lua/blake/dap.lua index f9d1b1b..f480e71 100644 --- a/.config/nvim/lua/blake/dap.lua +++ b/.config/nvim/lua/blake/dap.lua @@ -21,10 +21,12 @@ M.nvim_dap = function() vim.fn.sign_define('DapBreakpoint', {text = '綠', texthl = 'ErrorMsg', linehl = '', numhl = ''}) -- custom attributes of breakpointed lines (use an emoji?) vim.fn.sign_define('DapBreakpointRejected', {text = '祿', texthl = 'ErrorMsg', linehl = '', numhl = ''}) vim.fn.sign_define('DapLogPoint', {text = ' ', texthl = 'ErrorMsg', linehl = '', numhl = ''}) - vim.fn.sign_define('DapStopped', {text = '→ ', texthl = 'ErrorMsg', linehl = '', numhl = ''}) + vim.fn.sign_define('DapStopped', {text = '→ ', texthl = 'String', linehl = '', numhl = ''}) vim.cmd "au FileType dap-repl lua require('dap.ext.autocompl').attach()" - -- per-language config: + -- dap configuration local dap = require('dap') + dap.defaults.fallback.terminal_win_cmd = "10new" + -- per-language config: -- c++ dap congiguration >>> dap.configurations.cpp = { { @@ -81,11 +83,11 @@ M.dap_ui = function() size = 40, position = "left", -- Can be "left", "right", "top", "bottom" }, - tray = { - elements = { "repl" }, - size = 10, - position = "bottom", -- Can be "left", "right", "top", "bottom" - }, + -- tray = { + -- elements = { "repl" }, + -- size = 10, + -- position = "bottom", -- Can be "left", "right", "top", "bottom" + -- }, floating = { max_height = nil, -- These can be integers or a float between 0 and 1. max_width = nil, -- Floats will be treated as percentage of your screen.