nvim: made the debugger window less stupidly large
This commit is contained in:
parent
674b16cdee
commit
4c336ce34b
1 changed files with 9 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue