mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
update
This commit is contained in:
parent
36485199cf
commit
e15ff21d0c
2 changed files with 4 additions and 4 deletions
|
@ -142,7 +142,7 @@ return {
|
||||||
-- debuging
|
-- debuging
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
event = "BufWinEnter",
|
event = "BufRead",
|
||||||
dependencies = "mfussenegger/nvim-dap",
|
dependencies = "mfussenegger/nvim-dap",
|
||||||
enabled = vim.fn.has("win32") == 0,
|
enabled = vim.fn.has("win32") == 0,
|
||||||
config = function()
|
config = function()
|
||||||
|
@ -151,10 +151,10 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"jay-babu/mason-nvim-dap.nvim",
|
"jay-babu/mason-nvim-dap.nvim",
|
||||||
event = "VeryLazy",
|
event = "BufRead",
|
||||||
dependencies = { "williamboman/mason.nvim", "mfussenegger/nvim-dap" },
|
dependencies = { "williamboman/mason.nvim", "mfussenegger/nvim-dap" },
|
||||||
enabled = vim.fn.has("win32") == 0,
|
enabled = vim.fn.has("win32") == 0,
|
||||||
init = function()
|
config = function()
|
||||||
require("user.mason_dap")
|
require("user.mason_dap")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
|
@ -97,7 +97,7 @@ end
|
||||||
-- if pcall(require, "dap") then
|
-- if pcall(require, "dap") then
|
||||||
-- modified function keys found with `showkey -a` in the terminal to get key code
|
-- 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
|
-- 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()
|
map("n", "<F5>", function()
|
||||||
require("dap").continue()
|
require("dap").continue()
|
||||||
end, "")
|
end, "")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue