From a5cde7ec28f372d33c361960fc56e692e838ef5f Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 13 Apr 2023 16:18:40 +0100 Subject: [PATCH] nvim: replace delimitmate with mini.pairs --- nvim/lua/plugins/coding.lua | 5 +++++ vim/vimrc | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/nvim/lua/plugins/coding.lua b/nvim/lua/plugins/coding.lua index a765a79..6a6ded8 100644 --- a/nvim/lua/plugins/coding.lua +++ b/nvim/lua/plugins/coding.lua @@ -51,4 +51,9 @@ return { }) end, }, + + -- auto pairs + { + "echasnovski/mini.pairs", + }, } diff --git a/vim/vimrc b/vim/vimrc index 6657132..db6f710 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -48,7 +48,12 @@ Plug 'klen/python-mode' Plug 'kshenoy/vim-signature' Plug 'majutsushi/tagbar' Plug 'octol/vim-cpp-enhanced-highlight' -Plug 'raimondi/delimitmate' +if !has('nvim') + Plug 'raimondi/delimitmate' " {{{2 + let delimitMate_expand_cr = 2 + let g:delimitMate_expand_space = 1 + "}}} +end Plug 'sgeb/vim-diff-fold' Plug 'skywind3000/asyncrun.vim' " {{{2 command! -bang -nargs=* -complete=file Make AsyncRun -save=2 -program=make @ @@ -676,9 +681,6 @@ nnoremap cl :CloseRightWindow nnoremap cj :CloseBelowWindow nnoremap ck :CloseAboveWindow -" delimitmate {{{2 -let delimitMate_expand_cr = 2 -let g:delimitMate_expand_space = 1 " fswitch {{{2 nnoremap ff :FSHere -- 2.48.1