mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-10-26 08:41:46 +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_macro = false -- disable when recording or executing a macro
|
||||||
local disable_in_visualblock = false -- disable when insert after visual block mode
|
local disable_in_visualblock = false -- disable when insert after visual block mode
|
||||||
local disable_in_replace_mode = true
|
local disable_in_replace_mode = true
|
||||||
local ignored_next_char = [=[[%w%%%'%[%"%.]]=]
|
local ignored_next_char = [=[[%w%%%'%[%"%.%`%$]]=]
|
||||||
local enable_moveright = true
|
local enable_moveright = true
|
||||||
local enable_afterquote = true -- add bracket pairs after quote
|
local enable_afterquote = true -- add bracket pairs after quote
|
||||||
local enable_check_bracket_line = true --- check bracket in same line
|
local enable_check_bracket_line = true --- check bracket in same line
|
||||||
|
@ -20,7 +20,7 @@ local default = {
|
|||||||
disable_in_macro = false,
|
disable_in_macro = false,
|
||||||
disable_in_visualblock = false,
|
disable_in_visualblock = false,
|
||||||
disable_in_replace_mode = true,
|
disable_in_replace_mode = true,
|
||||||
ignored_next_char = [=[[%w%%%'%[%"%.]]=],
|
ignored_next_char = [=[[%w%%%'%[%"%.%`%$]]=],
|
||||||
break_undo = true,
|
break_undo = true,
|
||||||
check_ts = false,
|
check_ts = false,
|
||||||
enable_moveright = true,
|
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)
|
local run_data = _G.Test_filter(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user