[nvim] Replace delimitMate with mini.pairs

This commit is contained in:
Alyxia Sother 2023-08-11 22:15:45 +02:00
parent 37b2522e03
commit 125dbf8b26
No known key found for this signature in database
GPG key ID: 0B2497099595CAA5
3 changed files with 19 additions and 0 deletions

View file

@ -54,6 +54,10 @@ let s:plug = funcref('dotfiles#plugman#register')
endif
" }}}
" mini.nvim {{{
call s:plug('echasnovski/mini.pairs')
" }}}
" Misc {{{
if has('nvim')
call s:plug('andweeb/presence.nvim')

View file

@ -5,6 +5,15 @@ let &runtimepath = g:k_nvim_dotfiles_dir.','.&runtimepath.','.g:k_nvim_dotfiles_
let g:vim_ide = 1
let g:dotfiles_rainbow_indent_opacity = 0.5
" Inhibited plugins {{{
" I'd love to use dotfiles#plugman#inhibit in my plugins-list.vim but by that
" point it is already too late.
let g:dotfiles#plugman#inhibited_plugins = {}
" Does not do its job properly anymore, I'm afraid.
let g:dotfiles#plugman#inhibited_plugins["delimitMate"] = 1
" }}}
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
if has('nvim')

View file

@ -0,0 +1,6 @@
local ok, mini_pairs = pcall(require, "mini.pairs")
if not ok then
return
end
mini_pairs.setup()