support FormatOnPut and CodeActionsOnPut
maddyblue opened this issue · 0 comments
maddyblue commented
WorkspaceDirectories = [
"/Users/m/Documents/src/project",
]
FormatOnPut = true
CodeActionsOnPut = ["source.organizeImports"]
[Servers]
[Servers.gopls]
Command = ["gopls", "serve", "-rpc.trace"]
StderrFile = "gopls.stderr.log"
LogFile = "gopls.log"
# These settings gets passed to gopls
[Servers.gopls.Options]
hoverKind = "FullDocumentation"
[[FilenameHandlers]]
Pattern = '([/\\]go\.mod)|([/\\]go\.sum)|(\.go)$'
ServerKey = "gopls"
is an example config from acme-lsp