From f0396f550a304f222b4be073601e97f391f21ebf Mon Sep 17 00:00:00 2001 From: chaptersix Date: Wed, 19 Mar 2025 10:50:00 -0500 Subject: [PATCH] remove gopls config --- init.lua | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/init.lua b/init.lua index 6d8a364b..65b69bf6 100644 --- a/init.lua +++ b/init.lua @@ -668,33 +668,10 @@ require('lazy').setup({ settings = { gopls = { - analyses = { - unusedparams = true, -- Highlights unused function parameters - unusedwrite = true, -- Highlights unused variable writes - unusedvariable = true, -- Highlights unused variables - fieldalignment = true, -- Checks struct field alignment - nilness = true, -- Checks for nil dereferences - shadow = true, -- Checks for shadowed variables - unusedresult = true, -- Highlights unused function return values - }, staticcheck = true, completeUnimported = true, -- Suggests completions for unimported packages usePlaceholders = false, -- Adds placeholders for function arguments in completions completionDocumentation = true, -- Shows documentation for completion items - annotations = { - bounds = true, -- Highlights array/slice index out-of-bounds errors - escape = true, -- Highlights incorrect escape sequences in string literals - inline = true, -- Shows inline diagnostics in the code - }, - workspace = { - usePlaceholders = false, -- Adds placeholders for function arguments in completions - semanticTokens = true, -- Enables semantic token highlighting - experimentalPostfixCompletions = true, -- Enables postfix completions (e.g., .if, .for) - }, - formatting = { - gofumpt = true, - localimports = true, - }, }, }, },