summaryrefslogtreecommitdiff
path: root/helix/languages.toml
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2025-11-22 10:31:17 -0600
committerBrad Clawsie <brad@b7j0c.org>2025-11-22 10:31:17 -0600
commit25f88d7e4e19925229bb1749f1ad4b514b9b50bf (patch)
tree964597ed18c2ad706135b1fb30843fd813dcd11d /helix/languages.toml
parent64b9a9380a91c6729f5cc97185b7780d3553249a (diff)
rm gopls config, reintro helix conf
Diffstat (limited to 'helix/languages.toml')
-rw-r--r--helix/languages.toml11
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"]
+