helix: Configure gopls and staticcheck
This commit is contained in:
parent
23d93ded8b
commit
e0e3d7030a
1 changed files with 7 additions and 2 deletions
|
|
@ -3,8 +3,13 @@ name = "go"
|
||||||
auto-format = true
|
auto-format = true
|
||||||
formatter = { command = "goimports" }
|
formatter = { command = "goimports" }
|
||||||
|
|
||||||
[language-server.gopls.config]
|
[language-server.gopls.config.hints]
|
||||||
"ui.diagnostic.staticcheck" = true
|
assignVariableTypes = false
|
||||||
|
compositeLiteralFields = false
|
||||||
|
constantValues = false
|
||||||
|
functionTypeParameters = false
|
||||||
|
parameterNames = false
|
||||||
|
rangeVariableTypes = false
|
||||||
|
|
||||||
[language-server.rust-analyzer.config.check]
|
[language-server.rust-analyzer.config.check]
|
||||||
command = "clippy"
|
command = "clippy"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue