wip installer

This commit is contained in:
Andrea Blankenstijn 2022-06-20 12:34:05 +02:00
parent 1ed5eed8f2
commit f736db5afa
2 changed files with 15 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,8 +1,7 @@
/*
!/meta/
!/install.lua
!/lua/
!/tests/
!/tools/
!/History.md
!/LICENSE
!/README.md

14
install.lua Normal file
View File

@ -0,0 +1,14 @@
-- vi: et sw=4 ts=4:
-- hsv2
local function clone()
local path = vim.fn.stdpath('data') .. '/site/pack/hsv2/opt/hsv2.nvim'
if vim.fn.empty(vim.fn.glob(path)) > 0 then
vim.fn.system {
'git',
'clone',
'--depth=1',
'https://git.disroot.org/soratobuneko/hsv2-neovim',
path
}
end
end