From 5a12e8e7e4153e7029c202f50d22ff08902f2ac5 Mon Sep 17 00:00:00 2001 From: Keanu Date: Fri, 23 Jul 2021 23:43:12 +0200 Subject: [PATCH] [nvim] Update to use plugman. --- nvim/dotfiles/plugins-list.vim | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nvim/dotfiles/plugins-list.vim b/nvim/dotfiles/plugins-list.vim index f259878..f6bcdcf 100644 --- a/nvim/dotfiles/plugins-list.vim +++ b/nvim/dotfiles/plugins-list.vim @@ -1,23 +1,23 @@ -let s:ctx = g:dotfiles_plugins_list_context +let s:plug = funcref('dotfiles#plugman#register') " UI {{{ - call s:ctx.use('romgrk/barbar.nvim') - call s:ctx.use('hoob3rt/lualine.nvim') + call s:plug('romgrk/barbar.nvim') + call s:plug('hoob3rt/lualine.nvim') " }}} " Files {{{ - call s:ctx.use('preservim/nerdtree') - call s:ctx.use('kyazdani42/nvim-web-devicons') - call s:ctx.use('akinsho/nvim-toggleterm.lua') - call s:ctx.use('antoyo/vim-licenses') + call s:plug('preservim/nerdtree') + call s:plug('kyazdani42/nvim-web-devicons') + call s:plug('akinsho/nvim-toggleterm.lua') + call s:plug('antoyo/vim-licenses') " }}} " Language specific {{{ - call s:ctx.use('alaviss/nim.nvim') + call s:plug('alaviss/nim.nvim') " }}} " Misc {{{ if has('nvim-0.5.0') - call s:ctx.use('andweeb/presence.nvim') + call s:plug('andweeb/presence.nvim') endif " }}}