2023-07-12 09:59:53 +00:00
|
|
|
local function clone_paq()
|
|
|
|
local path = vim.fn.stdpath "data" .. "/site/pack/paqs/start/paq-nvim"
|
|
|
|
local is_installed = vim.fn.empty(vim.fn.glob(path)) == 0
|
|
|
|
if not is_installed then
|
|
|
|
vim.fn.system {
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--depth",
|
|
|
|
"1",
|
|
|
|
"https://github.com/savq/paq-nvim.git",
|
|
|
|
path,
|
|
|
|
}
|
|
|
|
return true
|
|
|
|
end
|
2023-01-01 14:16:21 +00:00
|
|
|
end
|
|
|
|
|
2023-07-12 09:59:53 +00:00
|
|
|
local function bootstrap_paq(packages)
|
|
|
|
local first_install = clone_paq()
|
|
|
|
local paq = require("paq")
|
|
|
|
|
|
|
|
paq(packages)
|
2023-01-01 14:16:21 +00:00
|
|
|
vim.cmd("packadd paq-nvim")
|
2023-07-12 09:59:53 +00:00
|
|
|
|
|
|
|
if first_install then
|
|
|
|
paq.install()
|
|
|
|
end
|
2023-01-01 14:16:21 +00:00
|
|
|
end
|
|
|
|
|
2023-07-12 09:59:53 +00:00
|
|
|
bootstrap_paq {
|
2023-06-14 09:30:11 +00:00
|
|
|
{ "catppuccin/nvim", as = "catppuccin" },
|
2023-07-21 13:57:29 +00:00
|
|
|
{ "lukas-reineke/indent-blankline.nvim", branch = "v2.20.7" },
|
2023-07-12 09:22:46 +00:00
|
|
|
{ "lukas-reineke/lsp-format.nvim", branch = "v2.5.1" },
|
2023-07-21 13:57:29 +00:00
|
|
|
{ "nvim-telescope/telescope-fzf-native.nvim", run = "make" },
|
|
|
|
{ "nvim-telescope/telescope.nvim", branch = "0.1.x" },
|
2023-07-12 09:59:53 +00:00
|
|
|
{ "nvim-treesitter/nvim-treesitter", branch = "master" },
|
2023-07-21 13:57:29 +00:00
|
|
|
{ "stevearc/oil.nvim", branch = "v1.0.0" },
|
|
|
|
{ "williamboman/mason.nvim", branch = "v1.6.0" },
|
|
|
|
"L3MON4D3/LuaSnip",
|
2023-01-01 14:16:21 +00:00
|
|
|
"hrsh7th/cmp-buffer",
|
|
|
|
"hrsh7th/cmp-cmdline",
|
2023-07-21 13:57:29 +00:00
|
|
|
"hrsh7th/cmp-nvim-lsp",
|
|
|
|
"hrsh7th/cmp-path",
|
|
|
|
"hrsh7th/nvim-cmp",
|
|
|
|
"lewis6991/gitsigns.nvim",
|
|
|
|
"mickael-menu/zk-nvim",
|
|
|
|
"neovim/nvim-lspconfig",
|
2023-01-01 14:16:21 +00:00
|
|
|
"nvim-lua/lsp-status.nvim",
|
2023-07-21 13:57:29 +00:00
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
"nvim-lualine/lualine.nvim",
|
|
|
|
"nvim-tree/nvim-web-devicons",
|
|
|
|
"nvim-treesitter/nvim-treesitter-context",
|
|
|
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
|
|
|
"nvim-treesitter/playground",
|
2023-01-01 14:16:21 +00:00
|
|
|
"onsails/lspkind.nvim",
|
2023-07-21 13:57:29 +00:00
|
|
|
"savq/paq-nvim",
|
|
|
|
"windwp/nvim-autopairs",
|
2023-01-01 14:16:21 +00:00
|
|
|
}
|