You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After pressing b1234s<tab>, the end pair will be added, which is b1234sb1234s
Now, if I move the cursor to the opening pair b1234s|b1234s, where | is the current cursor, and press <BS>, it just removes the opening part, leaving the text after deletion to |b1234s
Mapping bug
1.If you report a bug about indent. Please remember that plugin doesn't do anything about indent.
It just trigger the indent of your vim config so if you have wrong indent config then it will do wrong indent.
You can check by select a block of code and press ==
2. provide result of command :verbose imap <cr>.
Steps to reproduce
No response
Minimal config
vim.cmd[[set runtimepath=$VIMRUNTIME]]vim.cmd[[set packpath=/tmp/nvim/site]]localpackage_root='/tmp/nvim/site/pack'localinstall_path=package_root..'/packer/start/packer.nvim'localfunctionload_plugins()
require('packer').startup {
{
'wbthomason/packer.nvim',
{
'windwp/nvim-autopairs',
},
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
},
config= {
package_root=package_root,
compile_path=install_path..'/plugin/packer_compiled.lua',
display= { non_interactive=true },
},
}
end_G.load_config=function()
require('nvim-autopairs').setup()
endifvim.fn.isdirectory(install_path) ==0thenprint("Installing nvim-autopairs and dependencies.")
vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
endload_plugins()
require('packer').sync()
vim.cmd[[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]
The text was updated successfully, but these errors were encountered:
Description
For the rule similar to the sample config:
After pressing
b1234s<tab>
, the end pair will be added, which isb1234sb1234s
Now, if I move the cursor to the opening pair
b1234s|b1234s
, where|
is the current cursor, and press<BS>
, it just removes the opening part, leaving the text after deletion to|b1234s
Mapping bug
1.If you report a bug about indent. Please remember that plugin doesn't do anything about indent.
It just trigger the indent of your vim config so if you have wrong indent config then it will do wrong indent.
You can check by select a block of code and press
==
2. provide result of command
:verbose imap <cr>
.Steps to reproduce
No response
Minimal config
The text was updated successfully, but these errors were encountered: