From a56f3652b5f870cbb2c9d61d5e773c1aa1a5bed5 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 18 Jan 2025 17:27:42 +0100 Subject: [PATCH] nvim: go: update settings for gopls --- nvim/lua/user/plugins/lang/go.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/nvim/lua/user/plugins/lang/go.lua b/nvim/lua/user/plugins/lang/go.lua index 81225fa..c576eec 100644 --- a/nvim/lua/user/plugins/lang/go.lua +++ b/nvim/lua/user/plugins/lang/go.lua @@ -7,11 +7,10 @@ local lspservers = { gopls = { analyses = { unusedvariable = true, - unusedwrite = true, useany = true, }, gofumpt = true, - hoverKind = 'SynopsisDocumentation', + staticcheck = true, codelenses = { gc_details = false, generate = true, @@ -22,11 +21,11 @@ local lspservers = { upgrade_dependency = true, vendor = true, }, - hints = { - parameterNames = true - }, + -- hints = { + -- parameterNames = true + -- }, completeUnimported = true, - semanticTokens = true + -- semanticTokens = true }, }, on_save = function()