2023-10-15 14:51:11 +00:00
|
|
|
local git = require "lib.git"
|
2023-06-02 16:58:39 +00:00
|
|
|
|
2023-10-15 14:51:11 +00:00
|
|
|
local nvim_dir = os.getenv "HOME" .. "/.config/nvim"
|
2023-06-05 07:57:52 +00:00
|
|
|
local nvim_pluing_dir_start = nvim_dir .. "/pack/bundle/start"
|
|
|
|
|
|
2023-10-15 14:51:11 +00:00
|
|
|
if not configz.is_directory(nvim_dir .. "/snippets") then
|
|
|
|
|
configz.link(nvim_dir .. "/snippets", {
|
|
|
|
|
source = os.getenv "PWD" .. "/site-modules/core/files/vim/snippets/snippets",
|
|
|
|
|
})
|
|
|
|
|
end
|
2023-06-02 16:58:39 +00:00
|
|
|
|
2023-10-15 14:51:11 +00:00
|
|
|
git.repo {
|
2023-06-02 16:58:39 +00:00
|
|
|
src = "https://github.com/sbdchd/neoformat",
|
|
|
|
|
target = nvim_pluing_dir_start .. "/neoformat",
|
2023-10-15 14:51:11 +00:00
|
|
|
version = "master",
|
|
|
|
|
}
|