This commit is contained in:
jordanyono 2025-10-08 11:11:29 -04:00
parent 5f7f4fae24
commit c81ec8776f
1 changed files with 1 additions and 3 deletions

View File

@ -790,11 +790,9 @@ require('lazy').setup({
-- Hover and signature help -- Hover and signature help
hoverKind = 'FullDocumentation', -- Show full documentation in hover hoverKind = 'FullDocumentation', -- Show full documentation in hover
usePlaceholders = true, -- Insert placeholders for function arguments
-- Import management -- Import management
gofumpt = true, -- Use `gofumpt` formatting style gofumpt = true, -- Use `gofumpt` formatting style
completeUnimported = true, -- Suggest symbols from unimported packages
directoryFilters = { '-vendor' }, -- Exclude vendor directories from analysis directoryFilters = { '-vendor' }, -- Exclude vendor directories from analysis
}, },
}, },
@ -806,7 +804,7 @@ require('lazy').setup({
buffer = bufnr, buffer = bufnr,
callback = function() callback = function()
vim.lsp.buf.code_action { vim.lsp.buf.code_action {
context = { only = { 'source.organizeImports' } }, context = { diagnostics = {}, only = { 'source.organizeImports' } },
apply = true, apply = true,
} }
end, end,