|
|
|
@ -93,20 +93,17 @@ comment-token = "//"
|
|
|
|
|
language-server = { command = "gopls" }
|
|
|
|
|
# TODO: gopls needs utf-8 offsets?
|
|
|
|
|
indent = { tab-width = 4, unit = "\t" }
|
|
|
|
|
debug-adapter = { transport = "tcp", command = "dlv", args = ["dap"], port-arg = "-l 127.0.0.1:{}" }
|
|
|
|
|
debug-adapter = { name = "go", transport = "tcp", command = "dlv", args = ["dap"], port-arg = "-l 127.0.0.1:{}" }
|
|
|
|
|
|
|
|
|
|
[[language.debug-configs]]
|
|
|
|
|
request = "launch"
|
|
|
|
|
mode = "debug"
|
|
|
|
|
program = "main.go"
|
|
|
|
|
|
|
|
|
|
[[language.debug-configs]]
|
|
|
|
|
request = "launch"
|
|
|
|
|
mode = "exec"
|
|
|
|
|
program = "main"
|
|
|
|
|
|
|
|
|
|
[[language.debug-configs]]
|
|
|
|
|
request = "launch"
|
|
|
|
|
mode = "test"
|
|
|
|
|
program = "."
|
|
|
|
|
|
|
|
|
|