mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 07:15:44 +03:00
fix bug with toggleterm
This commit is contained in:
parent
3b1b990283
commit
fdeb794ee7
@ -53,7 +53,7 @@ M.setup = function(opt)
|
||||
[[
|
||||
augroup autopairs_buf
|
||||
autocmd!
|
||||
autocmd BufEnter * :lua require("nvim-autopairs").on_attach()
|
||||
autocmd BufEnter,BufWinEnter * :lua require("nvim-autopairs").on_attach()
|
||||
autocmd BufDelete * :lua require("nvim-autopairs").set_buf_rule(nil)
|
||||
autocmd FileType * :lua require("nvim-autopairs").force_attach()
|
||||
augroup end
|
||||
|
Loading…
Reference in New Issue
Block a user