mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2025-01-05 15:49:20 +00:00
141 lines
2.2 KiB
Lua
141 lines
2.2 KiB
Lua
return require("packer").startup({
|
|
function()
|
|
-- Plugin manager
|
|
use("wbthomason/packer.nvim")
|
|
|
|
-- Themes
|
|
use("olimorris/onedarkpro.nvim")
|
|
|
|
-- Gitsigns
|
|
use({
|
|
"lewis6991/gitsigns.nvim",
|
|
requires = {
|
|
"nvim-lua/plenary.nvim",
|
|
},
|
|
})
|
|
|
|
-- Telescope
|
|
use({
|
|
"nvim-telescope/telescope.nvim",
|
|
requires = {
|
|
"nvim-lua/plenary.nvim",
|
|
},
|
|
})
|
|
--
|
|
use({
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
run = "make",
|
|
})
|
|
|
|
-- File tree
|
|
use({
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
requires = {
|
|
"nvim-lua/plenary.nvim",
|
|
"kyazdani42/nvim-web-devicons",
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
})
|
|
|
|
-- Status line
|
|
use({
|
|
"nvim-lualine/lualine.nvim",
|
|
requires = {
|
|
"kyazdani42/nvim-web-devicons",
|
|
},
|
|
})
|
|
|
|
-- Buffer line
|
|
use({
|
|
"akinsho/bufferline.nvim",
|
|
requires = {
|
|
"kyazdani42/nvim-web-devicons",
|
|
},
|
|
})
|
|
|
|
-- Show indentation
|
|
use("lukas-reineke/indent-blankline.nvim")
|
|
|
|
-- Comment
|
|
use({
|
|
"numToStr/Comment.nvim",
|
|
})
|
|
|
|
-- Todo-comment
|
|
use({
|
|
"AmeerTaweel/todo.nvim",
|
|
requires = {
|
|
"nvim-lua/plenary.nvim",
|
|
},
|
|
})
|
|
|
|
-- hlslens
|
|
use("kevinhwang91/nvim-hlslens")
|
|
|
|
-- Treesitter
|
|
use({
|
|
"nvim-treesitter/nvim-treesitter",
|
|
run = ":TSUpdate",
|
|
})
|
|
-- GPS
|
|
use({
|
|
"SmiteshP/nvim-gps",
|
|
requires = {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
},
|
|
})
|
|
-- Rainbow parentheses
|
|
use({
|
|
"p00f/nvim-ts-rainbow",
|
|
requires = {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
},
|
|
})
|
|
|
|
-- Cutlass
|
|
use("gbprod/cutlass.nvim")
|
|
|
|
-- Focus
|
|
use("beauwilliams/focus.nvim")
|
|
|
|
-- Notifications
|
|
use("rcarriga/nvim-notify")
|
|
|
|
-- null-ls
|
|
use({
|
|
"jose-elias-alvarez/null-ls.nvim",
|
|
requires = {
|
|
"nvim-lua/plenary.nvim",
|
|
},
|
|
})
|
|
|
|
-- LSP config
|
|
use("neovim/nvim-lspconfig")
|
|
-- Signature
|
|
use("ray-x/lsp_signature.nvim")
|
|
|
|
-- Autocompletion
|
|
use("hrsh7th/nvim-cmp")
|
|
-- Sources
|
|
-- LSP
|
|
use("hrsh7th/cmp-nvim-lsp")
|
|
-- Snippets
|
|
use("L3MON4D3/LuaSnip")
|
|
use("saadparwaiz1/cmp_luasnip")
|
|
-- Buffer
|
|
use("hrsh7th/cmp-buffer")
|
|
-- Path
|
|
use("hrsh7th/cmp-path")
|
|
-- cmdline
|
|
use("hrsh7th/cmp-cmdline")
|
|
end,
|
|
config = {
|
|
display = {
|
|
open_fn = function()
|
|
return require("packer.util").float({
|
|
border = "single",
|
|
})
|
|
end,
|
|
},
|
|
},
|
|
})
|