change to newer autopairs alternative (nvim-autopairs)
This commit is contained in:
parent
75b33bf4b9
commit
947f54c6ec
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue