master #6
|
@ -4,3 +4,7 @@ local Rule = require('nvim-autopairs.rule')
|
|||
local npairs = require('nvim-autopairs')
|
||||
npairs.add_rule(Rule("<>","<>","rs"))
|
||||
EOF
|
||||
|
||||
" fix <CR> being not usable to select a completion item
|
||||
inoremap <silent><expr> <cr> coc#pum#visible() ? coc#pum#confirm() :
|
||||
\ "\<C-g>u\<c-r>=v:lua.require'nvim-autopairs'.autopairs_cr()\<CR>"
|
||||
|
|
|
@ -26,7 +26,3 @@ Plug 'lambdalisue/suda.vim'
|
|||
"Plug 'dense-analysis/ale'
|
||||
|
||||
call plug#end()
|
||||
|
||||
lua << EOF
|
||||
require("nvim-autopairs").setup {}
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue