build core, basic and go variants and add template
This commit is contained in:
9
basic/nvim/lua/pack.lua
Normal file
9
basic/nvim/lua/pack.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
local conf_path = 'plugconf/%s.lua'
|
||||
|
||||
function pack(name)
|
||||
vim.cmd('packadd! ' .. name)
|
||||
name = name:gsub('^n?vim%-', ''):gsub('%..*$', '')
|
||||
vim.cmd.runtime(conf_path:format(name))
|
||||
end
|
||||
|
||||
return pack
|
||||
Reference in New Issue
Block a user