Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Nov 13, 2023
1 parent 9db7502 commit 8eb8d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/epo/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ local function complete_ondone(bufnr)
local newText = completion_item.textEdit.newText
local range = completion_item.textEdit.range
local nextchar = curline:sub(col + 1, col + 1)
local determine = newText:sub(#item.abbr, #item.abbr)
local determine = newText:sub(#item.word, #item.word)
if determine == nextchar then
range['end'].character = col + 1
api.nvim_win_set_cursor(0, { lnum, col + 1 })
Expand Down

0 comments on commit 8eb8d17

Please sign in to comment.