issue-323 fix: check valid tags before overwriting gopls buildFlags (#324)

pull/327/head
Daniel Rivas 1 year ago committed by GitHub
parent d7530aea0f
commit fcc88590e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -296,7 +296,7 @@ M.setups = function()
end
local tags = get_build_flags()
if tags ~= '' then
if tags and tags ~= '' then
setups.settings.gopls.buildFlags = { tags }
end

Loading…
Cancel
Save