document tidy

pull/399/head
ray-x 7 months ago
parent a1a89f5040
commit 9329383d6d

@ -239,7 +239,7 @@ M.setups = function()
local has_lsp, lspconfig = pcall(require, 'lspconfig')
if has_lsp then
local util = lspconfig.util
return util.root_pattern('go.mod', '.git')(fname) or util.path.dirname(fname)
return util.root_pattern('go.mod', 'go.work', '.git')(fname) or util.path.dirname(fname)
end
end,
flags = { allow_incremental_sync = true, debounce_text_changes = 500 },

Loading…
Cancel
Save