start work on experimental vim-plug wrapper
parent
4635b515e0
commit
485be0f1d8
@ -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…
Reference in new issue