from packer to lazy

This commit is contained in:
2025-12-17 21:32:34 +07:00
parent 40aee7d3ce
commit 3c21e12bf3
38 changed files with 743 additions and 672 deletions

View File

@@ -1,23 +1,29 @@
-- Initialization
local dap = require('dap')
-- Debug Adapter Protocol client implementation for Neovim
return {
'mfussenegger/nvim-dap',
enabled = true,
lazy = true,
config = function()
local dap = require('dap')
-- Installing C, Rust and C++
dap.configurations.cpp = {
}
-- Installing debuggers for C, Rust and C++
dap.configurations.cpp = {}
-- Initializing PHP adapter
dap.adapters.php = {
type = "executable",
command = "node",
args = { os.getenv("HOME") .. "/vscode-php-debug/out/phpDebug.js" }
}
-- Initializing PHP debugger adapter
dap.adapters.php = {
type = 'executable',
command = 'node',
args = { os.getenv('HOME') .. '/vscode-php-debug/out/phpDebug.js' }
}
-- Installing PHP
dap.configurations.php = {
{
type = "php",
request = "launch",
name = "Listen for Xdebug",
port = 9003
}
-- Installing PHP debugger
dap.configurations.php = {
{
type = 'php',
request = 'launch',
name = 'Listen for Xdebug',
port = 9003
}
}
end
}