change to newer autopairs alternative (nvim-autopairs)

This commit is contained in:
Christoph J. Scherr 2023-07-13 14:36:54 +02:00
parent 75b33bf4b9
commit 947f54c6ec
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
3 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,6 @@
lua << EOF
require("nvim-autopairs").setup {}
local Rule = require('nvim-autopairs.rule')
local npairs = require('nvim-autopairs')
npairs.add_rule(Rule("<>","<>","rs"))
EOF

View File

@ -19,7 +19,9 @@ if vim.g.started_by_firenvim == true then
vim.cmd('runtime common.vim')
else
vim.cmd('runtime common.vim')
vim.cmd('runtime plugs.vim')
vim.cmd('runtime main.vim')
vim.cmd('runtime autopairs.vim')
end
if os.name() == "Windows" then

View File

@ -1,7 +1,7 @@
call plug#begin()
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
Plug 'jiangmiao/auto-pairs'
Plug 'windwp/nvim-autopairs'
Plug 'mhinz/vim-startify'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'psliwka/vim-smoothie' " scorll with STRG + d or STRG + u
@ -26,3 +26,7 @@ Plug 'lambdalisue/suda.vim'
"Plug 'dense-analysis/ale'
call plug#end()
lua << EOF
require("nvim-autopairs").setup {}
EOF