Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ray-x/go.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-x committed May 29, 2024
2 parents 4274cb3 + 1423d5d commit 588ab7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/go/gopls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ end
local range_format = 'textDocument/rangeFormatting'
local formatting = 'textDocument/formatting'
M.setups = function()
local update_in_insert = _GO_NVIM_CFG.diagnostic.update_in_insert or false
local update_in_insert = _GO_NVIM_CFG.diagnostic and _GO_NVIM_CFG.diagnostic.update_in_insert or false
local diagTrigger = update_in_insert and 'Edit' or 'Save'
local diagDelay = update_in_insert and '1s' or '250ms'
local setups = {
Expand Down

0 comments on commit 588ab7b

Please sign in to comment.