gabrielgio.lua @ e1a6a6ac3799687bb44ca61799655e004bfb9899

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