mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Give java a default nvim-dap config
This commit is contained in:
parent
12818a6cb4
commit
7a2eb06dbd
1 changed files with 14 additions and 0 deletions
|
|
@ -40,6 +40,20 @@ return {
|
|||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
opts = function()
|
||||
-- Simple configuration to attach to remote java debug process
|
||||
-- Taken directly from https://github.com/mfussenegger/nvim-dap/wiki/Java
|
||||
local dap = require("dap")
|
||||
dap.configurations.java = {
|
||||
{
|
||||
type = "java",
|
||||
request = "attach",
|
||||
name = "Debug (Attach) - Remote",
|
||||
hostName = "127.0.0.1",
|
||||
port = 5005,
|
||||
},
|
||||
}
|
||||
end,
|
||||
dependencies = {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue