issue #186
This commit is contained in:
parent
4e44e251db
commit
c1db235792
@ -85,7 +85,7 @@ local extend_config = function(gopls, opts)
|
|||||||
if type(gopls[key]) == 'table' and type(value) == 'table' then
|
if type(gopls[key]) == 'table' and type(value) == 'table' then
|
||||||
gopls[key] = vim.tbl_deep_extend('force', gopls[key], value)
|
gopls[key] = vim.tbl_deep_extend('force', gopls[key], value)
|
||||||
else
|
else
|
||||||
if type(gopls[key]) ~= type(value) then
|
if type(gopls[key]) ~= type(value) and key ~= 'handlers' then
|
||||||
vim.notify('gopls setup for ' .. key .. ' is not ' .. type(value))
|
vim.notify('gopls setup for ' .. key .. ' is not ' .. type(value))
|
||||||
end
|
end
|
||||||
gopls[key] = value
|
gopls[key] = value
|
||||||
|
Loading…
Reference in New Issue
Block a user