gabrielgio.lua @ 1f10205b39b1419c1644f749aea4b57baa12f4ea

 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
23-- stylua: ignore start
24local pkgs = {
25    "folke/trouble.nvim",                           -- diagnostics
26    "mfussenegger/nvim-dap",                        -- add dap support
27    "nvim-neotest/nvim-nio",                        -- async support library
28    "nvim-lua/plenary.nvim",                        -- base lib
29    "nvim-telescope/telescope.nvim",                -- telescope
30    "nvim-telescope/telescope-file-browser.nvim",   -- telescope file browser
31    "TimUntersberger/neogit",                       -- magit
32    "f-person/git-blame.nvim",                      -- more git info
33    "echasnovski/mini.nvim",                        -- provides many things
34    "mhartington/formatter.nvim",                   -- provider formatter
35    "mfussenegger/nvim-lint",                       -- general linter
36    "nvim-treesitter/nvim-treesitter-context",      -- show context of where it is at the code
37    "mbbill/undotree",                              -- keep track of undos
38    "simrat39/symbols-outline.nvim",                -- symbols tree (lsp aware)
39    "caenrique/nvim-toggle-terminal",               -- help with toggle from and to terminals [DEPRECATED]
40    "RRethy/vim-illuminate",                        -- hightlight use of the same word (lsp aware)
41    "sainnhe/edge",                                 -- light theme
42    "ellisonleao/gruvbox.nvim",                     -- light theme
43    "williamboman/mason.nvim",                      -- manages many things
44    "williamboman/mason-lspconfig.nvim",            -- glue mason and lspconfig
45    "neovim/nvim-lspconfig",                        -- lsp support
46}
47-- stylua: ignore end
48
49add({
50	source = "nvim-treesitter/nvim-treesitter",
51	hooks = {
52		post_checkout = function()
53			vim.cmd("TSUpdate")
54		end,
55	},
56})
57add({
58	source = "fatih/vim-go",
59	hooks = {
60		post_checkout = function()
61			vim.cmd("GoUpdateBinaries")
62		end,
63	},
64})
65for _, value in ipairs(pkgs) do
66	add({ source = value })
67end
68
69require("gabrielgio")