Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 9015cb7

Browse files
authored
remove check in applyAdditionalTextEdits
1 parent e871add commit 9015cb7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lua/completion.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ end
6868
-- apply additionalTextEdits in LSP specs
6969
local function applyAddtionalTextEdits(completed_item)
7070
local lnum = api.nvim_win_get_cursor(0)[1]
71-
if completed_item.user_data == nil then return end
7271
if completed_item.user_data.lsp ~= nil then
7372
local item = completed_item.user_data.lsp.completion_item
7473
-- vim-vsnip have better additional text edits...

0 commit comments

Comments
 (0)