Skip to content

Commit

Permalink
fix: remove unneeded buffer number argument(c-w c-h) (#373)
Browse files Browse the repository at this point in the history
thank
  • Loading branch information
levioneyh committed Jul 14, 2023
1 parent 9d121c1 commit ae5b41c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/nvim-autopairs.lua
Expand Up @@ -321,7 +321,7 @@ M.on_attach = function(bufnr)
bufnr,
"i",
utils.key.c_h,
string.format("v:lua.MPairs.autopairs_c_h(%d)", bufnr),
'v:lua.MPairs.autopairs_c_h()',
{ expr = true, noremap = true }
)
end
Expand All @@ -331,7 +331,7 @@ M.on_attach = function(bufnr)
bufnr,
'i',
'<c-w>',
string.format('v:lua.MPairs.autopairs_c_w(%d)', bufnr),
'v:lua.MPairs.autopairs_c_w()',
{ expr = true, noremap = true }
)
end
Expand Down

0 comments on commit ae5b41c

Please sign in to comment.