start work on experimental vim-plug wrapper

master
Drake 3 years ago
parent 4635b515e0
commit 485be0f1d8
No known key found for this signature in database
GPG Key ID: 9B83455BD94F12A3

@ -1,3 +1,5 @@
" TODO: start using an init.lua (main blocker is I cbf to switch package
" managers (maybe I can make a wrapper?)
call plug#begin('~/.vim/plugged')
Plug 'neovim/nvim-lspconfig'
Plug 'kyazdani42/nvim-web-devicons'

@ -0,0 +1,15 @@
-- Experimental vim-plug wrapper for use in `init.lua`s
local Plug = {
Begin = vim.fn['plug#begin']
_Plug = vim.fn['plug#']
End = vim.fn['plug#end']
include = function(repo, opts){
if(opts == {})
then
_Plug(repo)
else
_Plug(repo, opts)
end
}
}
Loading…
Cancel
Save