summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/dap.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nvim/lua/plugins/dap.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/nvim/lua/plugins/dap.lua b/nvim/lua/plugins/dap.lua
new file mode 100644
index 0000000..7c7f773
--- /dev/null
+++ b/nvim/lua/plugins/dap.lua
@@ -0,0 +1,9 @@
+require("dap-go").setup()
+require("dap").adapters.go = {
+ type = "server",
+ port = "${port}",
+ executable = {
+ command = "dlv",
+ args = { "dap", "-l", "127.0.0.1:${port}" },
+ },
+}