gabrielgio.lua @ eca140c8a12198c45b9abaefa8aa186686957ab1

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