mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 07:15:44 +03:00
fix(cmp): issue(#202)
This commit is contained in:
parent
96858723f1
commit
5348e4a778
@ -30,7 +30,8 @@ M.on_confirm_done = function(opt)
|
||||
},
|
||||
}, opt or {})
|
||||
|
||||
return function(entry)
|
||||
return function(evt)
|
||||
local entry = evt.entry
|
||||
local line = utils.text_get_current_line(0)
|
||||
local _, col = utils.get_cursor()
|
||||
local prev_char, next_char = utils.text_cusor_line(line, col, 1, 1, false)
|
||||
|
Loading…
Reference in New Issue
Block a user