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
|
||||
formatter = { command = "goimports" }
|
||||
|
||||
[language-server.gopls.config]
|
||||
"ui.diagnostic.staticcheck" = true
|
||||
[language-server.gopls.config.hints]
|
||||
assignVariableTypes = false
|
||||
compositeLiteralFields = false
|
||||
constantValues = false
|
||||
functionTypeParameters = false
|
||||
parameterNames = false
|
||||
rangeVariableTypes = false
|
||||
|
||||
[language-server.rust-analyzer.config.check]
|
||||
command = "clippy"
|
||||
|
|
|
|||
Loading…
Reference in a new issue