summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-07-05 00:52:36 -0400
committerChris <[email protected]>2021-07-05 00:52:36 -0400
commitaf5d292fbf51946ed508222cdefca3caed364971 (patch)
treef15886cae9937e004ce34832802e9840b38c628c /lua/plugins.lua
parent4bbf4c290a4a61e70717f3ea52567d2cacfdedae (diff)
basic python debugging
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,
}