2023-09-26 02:15:22 +02:00
|
|
|
require('plugins.packer_setup')
|
|
|
|
|
2023-09-26 01:51:50 +02:00
|
|
|
require('packer').startup(function()
|
|
|
|
|
|
|
|
-- Packer can manage itself as an optional plugin
|
|
|
|
use {'wbthomason/packer.nvim', opt = true }
|
|
|
|
|
2024-01-04 00:45:21 +01:00
|
|
|
use {
|
|
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
|
|
branch = "v3.x",
|
|
|
|
requires = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
|
|
|
"MunifTanjim/nui.nvim",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-26 01:51:50 +02:00
|
|
|
-- Fuzzy finder
|
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope.nvim',
|
2024-01-03 01:24:21 +01:00
|
|
|
requires = {
|
|
|
|
{'nvim-lua/popup.nvim'},
|
|
|
|
{'nvim-lua/plenary.nvim'},
|
|
|
|
}
|
2023-09-26 01:51:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
-- Autocomplete and snippets
|
|
|
|
use {
|
|
|
|
'hrsh7th/nvim-cmp',
|
|
|
|
requires = {
|
|
|
|
{ 'hrsh7th/cmp-nvim-lsp' },
|
|
|
|
{ 'hrsh7th/cmp-buffer' },
|
|
|
|
{ 'hrsh7th/cmp-path' },
|
|
|
|
{ 'hrsh7th/cmp-cmdline' },
|
|
|
|
{ 'hrsh7th/vim-vsnip' },
|
|
|
|
{ 'hrsh7th/vim-vsnip-integ' },
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Statusbar, colors and syntax
|
|
|
|
use { 'vim-airline/vim-airline' }
|
|
|
|
use { 'vim-airline/vim-airline-themes' }
|
|
|
|
|
|
|
|
-- LSP and related
|
|
|
|
use { 'neovim/nvim-lspconfig' }
|
|
|
|
use { 'weilbith/nvim-code-action-menu', cmd = 'CodeActionMenu' }
|
|
|
|
use { 'folke/trouble.nvim' } -- lsp diagnostics
|
|
|
|
|
|
|
|
-- Languages
|
|
|
|
use { 'cespare/vim-toml' }
|
|
|
|
use { 'gleam-lang/gleam.vim' }
|
|
|
|
use { 'rust-lang/rust.vim' }
|
|
|
|
use { 'tjdevries/nlua.nvim' }
|
|
|
|
|
|
|
|
-- Git
|
2024-01-03 01:24:21 +01:00
|
|
|
use {
|
|
|
|
'NeogitOrg/neogit',
|
|
|
|
requires = {
|
|
|
|
{ "nvim-lua/plenary.nvim" },
|
|
|
|
{ "sindrets/diffview.nvim" },
|
|
|
|
},
|
|
|
|
}
|
2024-01-03 02:10:43 +01:00
|
|
|
use { "lewis6991/gitsigns.nvim" }
|
2023-09-26 01:51:50 +02:00
|
|
|
|
2024-01-04 00:45:21 +01:00
|
|
|
-- Filesystem browser
|
2023-09-26 01:51:50 +02:00
|
|
|
use { 'stevearc/oil.nvim' }
|
|
|
|
|
|
|
|
-- Misc
|
2024-01-03 01:24:21 +01:00
|
|
|
use { 'jbyuki/venn.nvim' } -- ascii diagrams
|
2024-02-26 14:03:08 +01:00
|
|
|
use { 'hashivim/vim-terraform' }
|
2023-09-26 02:15:22 +02:00
|
|
|
|
2023-09-26 01:51:50 +02:00
|
|
|
end)
|
|
|
|
|
|
|
|
require('plugins.cmp')
|
2024-01-03 02:10:43 +01:00
|
|
|
require('plugins.gitsigns')
|
2024-01-03 01:24:21 +01:00
|
|
|
require('plugins.neogit')
|
|
|
|
require('plugins.oil')
|
2023-09-26 01:51:50 +02:00
|
|
|
require('plugins.telescope')
|
2024-01-03 01:24:21 +01:00
|
|
|
require('plugins.venn')
|