mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 15:26:37 +03:00
Pass column and rule information to :with_del
callback
This commit is contained in:
parent
cc8f7569cc
commit
8f7f682caa
@ -363,10 +363,12 @@ local autopairs_delete = function(bufnr, key)
|
||||
and utils.compare(rule.end_pair, next_char, rule.is_regex)
|
||||
and rule:can_del({
|
||||
ts_node = M.state.ts_node,
|
||||
rule = rule,
|
||||
bufnr = bufnr,
|
||||
prev_char = prev_char,
|
||||
next_char = next_char,
|
||||
line = line,
|
||||
col = col,
|
||||
})
|
||||
then
|
||||
local input = ''
|
||||
|
Loading…
Reference in New Issue
Block a user