Skip to content

Commit

Permalink
Enable dap for neotest
Browse files Browse the repository at this point in the history
This commit contains dap configurations for neotest-phpunit, but it is not working properly yet
Maybe it is missing some special configuration for lazyvim

Issue on neotest-phpunit: olimorris/neotest-phpunit#25
  • Loading branch information
eerison authored and Erison Silva committed Apr 26, 2024
1 parent 07f6068 commit 276172b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/plugins/php.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ return {
},
},
}

require("mason-nvim-dap").default_setup(config)
end,
},
Expand All @@ -80,6 +81,8 @@ return {
phpunit_cmd = function()
return "nvim/neotest" -- docker compose -f docker/docker-compose.yml exec app bin/phpunit $1
end,

dap = require("dap").configurations[1],
},
},
},
Expand Down

0 comments on commit 276172b

Please sign in to comment.