mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 07:15:44 +03:00
spec: document field only
This commit is contained in:
parent
6842738534
commit
dffcd00ef4
@ -23,8 +23,10 @@ function helpers.insert(text, is_replace)
|
|||||||
helpers.feed('i' .. text, 'x',is_replace)
|
helpers.feed('i' .. text, 'x',is_replace)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- use only = true to test 1 case
|
||||||
local data = {
|
local data = {
|
||||||
{
|
{
|
||||||
|
-- only = true,
|
||||||
name = "add normal bracket" ,
|
name = "add normal bracket" ,
|
||||||
key = [[{]],
|
key = [[{]],
|
||||||
before = [[x| ]],
|
before = [[x| ]],
|
||||||
@ -78,7 +80,6 @@ local data = {
|
|||||||
after = [[aa'| aa ]]
|
after = [[aa'| aa ]]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
-- only = true,
|
|
||||||
name = "don't add single quote with alphabet char" ,
|
name = "don't add single quote with alphabet char" ,
|
||||||
key = [[']],
|
key = [[']],
|
||||||
before = [[a|x ]],
|
before = [[a|x ]],
|
||||||
|
Loading…
Reference in New Issue
Block a user