summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 00417b6e..e03f5037 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -253,7 +253,11 @@ return require("packer").startup(function(use)
-- Debugging
use {
"mfussenegger/nvim-dap",
- event = "BufRead",
+ config = function()
+ require('dap')
+ vim.fn.sign_define('DapBreakpoint', {text='🛑', texthl='', linehl='', numhl=''})
+ require('dap').defaults.fallback.terminal_win_cmd = '50vsplit new'
+ end,
disable = not O.plugin.debug.active,
}
-- Better quickfix
@@ -404,7 +408,7 @@ return require("packer").startup(function(use)
-- Debugger management
use {
"Pocco81/DAPInstall.nvim",
- event = "BufRead",
+ -- event = "BufRead",
disable = not O.plugin.dap_install.active,
}