This commit is contained in:
asep komarudin 2023-04-17 17:59:57 +07:00
parent 36485199cf
commit e15ff21d0c
2 changed files with 4 additions and 4 deletions

View file

@ -142,7 +142,7 @@ return {
-- debuging
{
"rcarriga/nvim-dap-ui",
event = "BufWinEnter",
event = "BufRead",
dependencies = "mfussenegger/nvim-dap",
enabled = vim.fn.has("win32") == 0,
config = function()
@ -151,10 +151,10 @@ return {
},
{
"jay-babu/mason-nvim-dap.nvim",
event = "VeryLazy",
event = "BufRead",
dependencies = { "williamboman/mason.nvim", "mfussenegger/nvim-dap" },
enabled = vim.fn.has("win32") == 0,
init = function()
config = function()
require("user.mason_dap")
end,
},

View file

@ -97,7 +97,7 @@ end
-- if pcall(require, "dap") then
-- modified function keys found with `showkey -a` in the terminal to get key code
-- run `nvim -V3log +quit` and search through the "Terminal info" in the `log` file for the correct keyname
if pcall(require, "dap") then
if vim.fn.has("win32") == 0 then
map("n", "<F5>", function()
require("dap").continue()
end, "")