remove gopls config
This commit is contained in:
		
							parent
							
								
									085d7d5de9
								
							
						
					
					
						commit
						f0396f550a
					
				
							
								
								
									
										23
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										23
									
								
								init.lua
								
								
								
								
							|  | @ -668,33 +668,10 @@ require('lazy').setup({ | ||||||
| 
 | 
 | ||||||
|           settings = { |           settings = { | ||||||
|             gopls = { |             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, |               staticcheck = true, | ||||||
|               completeUnimported = true, -- Suggests completions for unimported packages |               completeUnimported = true, -- Suggests completions for unimported packages | ||||||
|               usePlaceholders = false, -- Adds placeholders for function arguments in completions |               usePlaceholders = false, -- Adds placeholders for function arguments in completions | ||||||
|               completionDocumentation = true, -- Shows documentation for completion items |               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, |  | ||||||
|               }, |  | ||||||
|             }, |             }, | ||||||
|           }, |           }, | ||||||
|         }, |         }, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue