diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2025-11-22 10:31:17 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2025-11-22 10:31:17 -0600 |
| commit | 25f88d7e4e19925229bb1749f1ad4b514b9b50bf (patch) | |
| tree | 964597ed18c2ad706135b1fb30843fd813dcd11d /helix/languages.toml | |
| parent | 64b9a9380a91c6729f5cc97185b7780d3553249a (diff) | |
rm gopls config, reintro helix conf
Diffstat (limited to 'helix/languages.toml')
| -rw-r--r-- | helix/languages.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/helix/languages.toml b/helix/languages.toml new file mode 100644 index 0000000..2a4e689 --- /dev/null +++ b/helix/languages.toml @@ -0,0 +1,11 @@ +[language-server.gopls] +command = "gopls" +config = { "gofumpt" = true, "local" = "goimports", "semanticTokens" = true, "staticcheck" = true, "verboseOutput" = true, "analyses" = { "fieldalignment" = true, "nilness" = true, unusedparams = true, unusedwrite = true, useany = true }, usePlaceholders = true, completeUnimported = true, hints = { "assignVariableType" = true, "compositeLiteralFields" = true, "compositeLiteralTypes" = true, "constantValues" = true, "functionTypeParameters" = true, "parameterNames" = true, "rangeVariableTypes" = true } } + +[[language]] +name = "go" +roots = ["go.work", "go.mod"] +auto-format = true +comment-token = "//" +language-servers = [ "gopls"] + |
