We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using [count]o or [count]O on normal mode generates undesirable result with pairs.
No response
Typing 3ovim.keymap.set('n', '', '', { desc = ''<Esc> on normal mode generates:
3ovim.keymap.set('n', '', '', { desc = ''<Esc>
vim.keymap.set('n', '', '', { desc = '' vim.keymap.set('n', '', '', { desc = '' vim.keymap.set('n', '', '', { desc = ''})})})
It only works as expected when closing all pairs manually (3ovim.keymap.set('n', '', '', { desc = '' })<Esc>):
3ovim.keymap.set('n', '', '', { desc = '' })<Esc>
vim.keymap.set('n', '', '', { desc = '' }) vim.keymap.set('n', '', '', { desc = '' }) vim.keymap.set('n', '', '', { desc = '' })
It would be preferable to have some option to disable autopairs when using o/O, like"disable_in_macro".
o/O
"disable_in_macro"
require('nvim-autopairs').setup({ disable_filetype = { 'TelescopePrompt', 'spectre_panel', 'harpoon', }, disable_in_macro = true, disable_in_replace_mode = true, disable_in_visualblock = true, map_cr = true, map_bs = true, map_c_h = true, map_c_w = true, })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Using [count]o or [count]O on normal mode generates undesirable result with pairs.
Mapping bug
No response
Steps to reproduce
Typing
3ovim.keymap.set('n', '', '', { desc = ''<Esc>
on normal mode generates:It only works as expected when closing all pairs manually (
3ovim.keymap.set('n', '', '', { desc = '' })<Esc>
):It would be preferable to have some option to disable autopairs when using
o/O
, like"disable_in_macro"
.Minimal config
The text was updated successfully, but these errors were encountered: