gabrielgio.lua @ b97b79961c62f78168d531212e1a58155cd290ea

 1local path_package = vim.fn.stdpath("data") .. "/site/"
 2local mini_path = path_package .. "pack/deps/start/mini.nvim"
 3
 4if not vim.loop.fs_stat(mini_path) then
 5	vim.cmd('echo "Installing `mini.nvim`" | redraw')
 6	local clone_cmd = {
 7		"git",
 8		"clone",
 9		"--filter=blob:none",
10		"https://github.com/echasnovski/mini.nvim",
11		mini_path,
12	}
13	vim.fn.system(clone_cmd)
14	vim.cmd("packadd mini.nvim | helptags ALL")
15	vim.cmd('echo "Installed `mini.nvim`" | redraw')
16end
17
18local mini_deps = require("mini.deps")
19local add = mini_deps.add
20
21mini_deps.setup({ path = { package = path_package } })
22
23local pkgs = {
24	"folke/trouble.nvim", -- diagnostics
25	"mfussenegger/nvim-dap", -- add dap support
26	"nvim-neotest/nvim-nio", -- async support library
27	"nvim-lua/plenary.nvim", -- base lib
28	"nvim-telescope/telescope.nvim", -- telescope
29	"nvim-telescope/telescope-file-browser.nvim", -- telescope file browser
30	"TimUntersberger/neogit", -- magit
31	"f-person/git-blame.nvim", -- more git info
32	"echasnovski/mini.nvim", -- provides many things
33	"mhartington/formatter.nvim", -- provider formatter
34	"mfussenegger/nvim-lint", -- general linter
35	"nvim-treesitter/nvim-treesitter-context", -- show context of where it is at the code
36	"mbbill/undotree", -- keep track of undos
37	"simrat39/symbols-outline.nvim", -- symbols tree (lsp aware)
38	"caenrique/nvim-toggle-terminal", -- help with toggle from and to terminals [DEPRECATED]
39	"RRethy/vim-illuminate", -- hightlight use of the same word (lsp aware)
40	"sainnhe/edge", -- light theme
41	"ellisonleao/gruvbox.nvim", -- light theme
42	"williamboman/mason.nvim", -- manages many things
43	"williamboman/mason-lspconfig.nvim", -- glue mason and lspconfig
44	"neovim/nvim-lspconfig", -- lsp support
45}
46
47add({
48	source = "nvim-treesitter/nvim-treesitter",
49	hooks = {
50		post_checkout = function()
51			vim.cmd("TSUpdate")
52		end,
53	},
54})
55add({
56	source = "fatih/vim-go",
57	hooks = {
58		post_checkout = function()
59			vim.cmd("GoUpdateBinaries")
60		end,
61	},
62})
63for _, value in ipairs(pkgs) do
64	add({ source = value })
65end
66
67require("gabrielgio")