|
|
@ -93,20 +93,17 @@ comment-token = "//"
|
|
|
|
language-server = { command = "gopls" }
|
|
|
|
language-server = { command = "gopls" }
|
|
|
|
# TODO: gopls needs utf-8 offsets?
|
|
|
|
# TODO: gopls needs utf-8 offsets?
|
|
|
|
indent = { tab-width = 4, unit = "\t" }
|
|
|
|
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]]
|
|
|
|
[[language.debug-configs]]
|
|
|
|
request = "launch"
|
|
|
|
|
|
|
|
mode = "debug"
|
|
|
|
mode = "debug"
|
|
|
|
program = "main.go"
|
|
|
|
program = "main.go"
|
|
|
|
|
|
|
|
|
|
|
|
[[language.debug-configs]]
|
|
|
|
[[language.debug-configs]]
|
|
|
|
request = "launch"
|
|
|
|
|
|
|
|
mode = "exec"
|
|
|
|
mode = "exec"
|
|
|
|
program = "main"
|
|
|
|
program = "main"
|
|
|
|
|
|
|
|
|
|
|
|
[[language.debug-configs]]
|
|
|
|
[[language.debug-configs]]
|
|
|
|
request = "launch"
|
|
|
|
|
|
|
|
mode = "test"
|
|
|
|
mode = "test"
|
|
|
|
program = "."
|
|
|
|
program = "."
|
|
|
|
|
|
|
|
|
|
|
|