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('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('DapBreakpointRejected', {text = '祿', texthl = 'ErrorMsg', linehl = '', numhl = ''})
|
||||||
vim.fn.sign_define('DapLogPoint', {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()"
|
vim.cmd "au FileType dap-repl lua require('dap.ext.autocompl').attach()"
|
||||||
-- per-language config:
|
-- dap configuration
|
||||||
local dap = require('dap')
|
local dap = require('dap')
|
||||||
|
dap.defaults.fallback.terminal_win_cmd = "10new"
|
||||||
|
-- per-language config:
|
||||||
-- c++ dap congiguration >>>
|
-- c++ dap congiguration >>>
|
||||||
dap.configurations.cpp = {
|
dap.configurations.cpp = {
|
||||||
{
|
{
|
||||||
|
@ -81,11 +83,11 @@ M.dap_ui = function()
|
||||||
size = 40,
|
size = 40,
|
||||||
position = "left", -- Can be "left", "right", "top", "bottom"
|
position = "left", -- Can be "left", "right", "top", "bottom"
|
||||||
},
|
},
|
||||||
tray = {
|
-- tray = {
|
||||||
elements = { "repl" },
|
-- elements = { "repl" },
|
||||||
size = 10,
|
-- size = 10,
|
||||||
position = "bottom", -- Can be "left", "right", "top", "bottom"
|
-- position = "bottom", -- Can be "left", "right", "top", "bottom"
|
||||||
},
|
-- },
|
||||||
floating = {
|
floating = {
|
||||||
max_height = nil, -- These can be integers or a float between 0 and 1.
|
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.
|
max_width = nil, -- Floats will be treated as percentage of your screen.
|
||||||
|
|
Loading…
Add table
Reference in a new issue