bebd4c1ff9
Vimconf2021 inspired me a lot and I'm not done yet
50 lines
858 B
Lua
50 lines
858 B
Lua
-- plugin.lua
|
|
|
|
local plugins = {}
|
|
|
|
function plugins.load(pluginList)
|
|
for _, plugin in pairs(pluginList) do
|
|
require'paq-nvim'.paq(plugin)
|
|
end
|
|
end
|
|
|
|
local pluginList = {
|
|
-- Handle itself
|
|
{'savq/paq-nvim', opt=true},
|
|
|
|
-- Theme
|
|
'kyazdani42/nvim-web-devicons',
|
|
'rktjmp/lush.nvim',
|
|
'briones-gabriel/darcula-solid.nvim',
|
|
|
|
-- treesitter
|
|
'nvim-treesitter/nvim-treesitter',
|
|
|
|
-- Utils
|
|
'akinsho/nvim-bufferline.lua',
|
|
'hoob3rt/lualine.nvim',
|
|
'airblade/vim-gitgutter',
|
|
'nvim-lua/popup.nvim',
|
|
'nvim-lua/plenary.nvim',
|
|
|
|
-- File Navigation
|
|
'kyazdani42/nvim-tree.lua',
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
-- lsp
|
|
'neovim/nvim-lspconfig',
|
|
'williamboman/nvim-lsp-installer',
|
|
|
|
-- writing
|
|
'vimwiki/vimwiki',
|
|
'junegunn/goyo.vim',
|
|
'junegunn/limelight.vim',
|
|
}
|
|
|
|
function plugins.init()
|
|
vim.cmd 'packadd paq-nvim'
|
|
plugins.load(pluginList)
|
|
end
|
|
|
|
return plugins
|