mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-10 17:34:27 +02:00
update
This commit is contained in:
parent
f84c7db654
commit
b20d0a84e7
1 changed files with 3 additions and 3 deletions
|
@ -88,14 +88,14 @@ local opts2 = {
|
||||||
}
|
}
|
||||||
|
|
||||||
local trn = ""
|
local trn = ""
|
||||||
if vim.fn.has("win32") then
|
if vim.fn.has("win32") == 1 then
|
||||||
trn = "pwsh<cr>"
|
trn = "pwsh<cr>"
|
||||||
end
|
end
|
||||||
-- for debug
|
-- for debug
|
||||||
local debug_key = {}
|
local debug_key = {}
|
||||||
local is_dap = pcall(require, "dap")
|
-- local is_dap = pcall(require, "dap")
|
||||||
|
|
||||||
if is_dap then
|
if vim.fn.has("win32") == 0 then
|
||||||
debug_key = {
|
debug_key = {
|
||||||
name = "Debug",
|
name = "Debug",
|
||||||
t = { "<cmd>lua require'dap'.toggle_breakpoint()<cr>", "Toggle Breakpoint" },
|
t = { "<cmd>lua require'dap'.toggle_breakpoint()<cr>", "Toggle Breakpoint" },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue