dotfiles/lua/plugins/init.lua

86 lines
2 KiB
Lua
Raw Normal View History

2023-09-26 02:15:22 +02:00
require('plugins.packer_setup')
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",
}
}
-- Fuzzy finder
use {
'nvim-telescope/telescope.nvim',
2024-01-03 01:24:21 +01:00
requires = {
{'nvim-lua/popup.nvim'},
{'nvim-lua/plenary.nvim'},
}
}
-- Autocomplete and snippets
use {
'hrsh7th/nvim-cmp',
requires = {
{ 'hrsh7th/cmp-nvim-lsp' },
{ 'hrsh7th/cmp-buffer' },
{ 'hrsh7th/cmp-path' },
{ 'hrsh7th/cmp-cmdline' },
}
}
2024-03-20 01:12:42 +01:00
use { 'L3MON4D3/LuaSnip' }
use { "rafamadriz/friendly-snippets" }
use { 'saadparwaiz1/cmp_luasnip' }
use {
"benfowler/telescope-luasnip.nvim",
module = "telescope._extensions.luasnip", -- if you wish to lazy-load
}
-- 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
2024-03-20 01:12:42 +01:00
-- Languages that need a plugin to extend default lsp
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" }
2024-01-04 00:45:21 +01:00
-- Filesystem browser
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
end)
2024-03-20 01:12:42 +01:00
require('plugins.luasnip')
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')
require('plugins.telescope')
2024-01-03 01:24:21 +01:00
require('plugins.venn')