mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 07:15:44 +03:00
parent
6b6e35fc9a
commit
ccbf4098e8
@ -34,7 +34,7 @@ local disable_filetype = { "TelescopePrompt" }
|
||||
local disable_in_macro = false -- disable when recording or executing a macro
|
||||
local disable_in_visualblock = false -- disable when insert after visual block mode
|
||||
local disable_in_replace_mode = true
|
||||
local ignored_next_char = [=[[%w%%%'%[%"%.]]=]
|
||||
local ignored_next_char = [=[[%w%%%'%[%"%.%`%$]]=]
|
||||
local enable_moveright = true
|
||||
local enable_afterquote = true -- add bracket pairs after quote
|
||||
local enable_check_bracket_line = true --- check bracket in same line
|
||||
|
@ -20,7 +20,7 @@ local default = {
|
||||
disable_in_macro = false,
|
||||
disable_in_visualblock = false,
|
||||
disable_in_replace_mode = true,
|
||||
ignored_next_char = [=[[%w%%%'%[%"%.]]=],
|
||||
ignored_next_char = [=[[%w%%%'%[%"%.%`%$]]=],
|
||||
break_undo = true,
|
||||
check_ts = false,
|
||||
enable_moveright = true,
|
||||
|
@ -689,6 +689,12 @@ local data = {
|
||||
[[}]],
|
||||
},
|
||||
},
|
||||
{
|
||||
name='open bracker on back tick',
|
||||
key = [[(]],
|
||||
before = [[ |`abcd`]],
|
||||
after = [[ (`abcd`) ]]
|
||||
}
|
||||
}
|
||||
|
||||
local run_data = _G.Test_filter(data)
|
||||
|
Loading…
Reference in New Issue
Block a user