mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
fix: python dap linux and windows
This commit is contained in:
parent
af1dd1aa00
commit
fa07b44ecf
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@ if pcode.active_python_config then
|
||||||
{
|
{
|
||||||
"mfussenegger/nvim-dap",
|
"mfussenegger/nvim-dap",
|
||||||
event = "BufReadPre",
|
event = "BufReadPre",
|
||||||
|
enabled = vim.fn.has("win32") == 1,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
"theHamsta/nvim-dap-virtual-text",
|
"theHamsta/nvim-dap-virtual-text",
|
||||||
|
|
|
@ -70,5 +70,8 @@ if pcode.active_python_config then
|
||||||
table.insert(pcode.mason_ensure_installed, "pyright")
|
table.insert(pcode.mason_ensure_installed, "pyright")
|
||||||
table.insert(pcode.null_ls_ensure_installed, "flake8")
|
table.insert(pcode.null_ls_ensure_installed, "flake8")
|
||||||
table.insert(pcode.null_ls_ensure_installed, "black")
|
table.insert(pcode.null_ls_ensure_installed, "black")
|
||||||
|
if vim.fn.has("win32") == 0 then
|
||||||
|
pcode.nvim_dap = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return {}
|
return {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue