Skip to content

Commit

Permalink
fix: drop prints
Browse files Browse the repository at this point in the history
whoops :)
  • Loading branch information
Saghen committed Oct 21, 2024
1 parent 42f8efb commit 67fa41f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/blink/cmp/sources/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,10 @@ function lsp:resolve(item, callback)
end

-- strip blink specific fields to avoid decoding errors on some LSPs (i.e. fsautocomplete)
vim.print(item)
item = require('blink.cmp.sources.lib.utils').blink_item_to_lsp_item(item)
vim.print(item)

local _, request_id = client.request('completionItem/resolve', item, function(error, resolved_item)
if error or resolved_item == nil then callback(item) end
vim.print(resolved_item)
callback(resolved_item)
end)
if request_id ~= nil then return function() client.cancel_request(request_id) end end
Expand Down

0 comments on commit 67fa41f

Please sign in to comment.