2022-11-02 09:44:34 +00:00
|
|
|
vim.cmd([[
|
|
|
|
augroup packer_user_config
|
|
|
|
autocmd!
|
|
|
|
autocmd BufWritePost plugins.lua source <afile> | PackerCompile
|
|
|
|
augroup end
|
|
|
|
]])
|
|
|
|
|
2023-02-13 12:57:12 +00:00
|
|
|
require("packer").startup({
|
|
|
|
function(use)
|
|
|
|
use("wbthomason/packer.nvim")
|
|
|
|
use("lewis6991/impatient.nvim")
|
|
|
|
use("stevearc/dressing.nvim")
|
|
|
|
use({
|
2023-02-14 22:38:18 +00:00
|
|
|
"catppuccin/nvim",
|
|
|
|
as = "catppuccin",
|
|
|
|
config = function()
|
|
|
|
require("colours")
|
|
|
|
end,
|
2023-02-13 12:57:12 +00:00
|
|
|
})
|
|
|
|
use({
|
2023-02-14 22:38:18 +00:00
|
|
|
"feline-nvim/feline.nvim",
|
2023-02-13 12:57:12 +00:00
|
|
|
config = function()
|
2023-02-14 22:38:18 +00:00
|
|
|
require("config.feline")
|
2023-02-13 12:57:12 +00:00
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"rcarriga/nvim-notify",
|
|
|
|
config = function()
|
|
|
|
require("notify").setup({
|
2023-02-14 22:38:18 +00:00
|
|
|
background_colour = "#000000",
|
2023-02-13 12:57:12 +00:00
|
|
|
})
|
|
|
|
vim.notify = require("notify")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use("kyazdani42/nvim-web-devicons")
|
|
|
|
use("nvim-lua/plenary.nvim")
|
|
|
|
use({
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
requires = {
|
2023-02-14 22:38:18 +00:00
|
|
|
{ "hrsh7th/nvim-cmp" },
|
|
|
|
{ "hrsh7th/cmp-nvim-lsp" },
|
|
|
|
{ "hrsh7th/cmp-buffer" },
|
|
|
|
{ "hrsh7th/cmp-path" },
|
|
|
|
{ "hrsh7th/cmp-cmdline" },
|
|
|
|
{ "f3fora/cmp-spell" },
|
|
|
|
{ "petertriho/cmp-git" },
|
|
|
|
{ "Dosx001/cmp-commit" },
|
|
|
|
{ "kdheepak/cmp-latex-symbols" },
|
|
|
|
{ "L3MON4D3/LuaSnip" },
|
|
|
|
{ "saadparwaiz1/cmp_luasnip" },
|
|
|
|
{ "rafamadriz/friendly-snippets" },
|
|
|
|
{ "windwp/nvim-autopairs" },
|
|
|
|
{ "jose-elias-alvarez/null-ls.nvim" },
|
2023-02-13 12:57:12 +00:00
|
|
|
},
|
|
|
|
config = function()
|
2023-02-14 22:38:18 +00:00
|
|
|
require("config.lsp")
|
|
|
|
require("config.cmp")
|
2023-02-13 12:57:12 +00:00
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
2023-02-14 22:38:18 +00:00
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
config = function()
|
|
|
|
require("config.treesitter")
|
|
|
|
end,
|
2023-02-13 12:57:12 +00:00
|
|
|
})
|
|
|
|
use({
|
2023-02-14 22:38:18 +00:00
|
|
|
"lewis6991/gitsigns.nvim",
|
2023-02-13 12:57:12 +00:00
|
|
|
config = function()
|
|
|
|
require("config.gitsigns")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"kyazdani42/nvim-tree.lua",
|
|
|
|
config = function()
|
|
|
|
require("config.nvim-tree")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"ahmedkhalf/project.nvim",
|
|
|
|
config = function()
|
|
|
|
require("config.project")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"akinsho/toggleterm.nvim",
|
|
|
|
tag = "v2.*",
|
|
|
|
config = function()
|
|
|
|
require("config.toggleterm")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
|
|
run = "make",
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
branch = "0.1.x",
|
|
|
|
requires = {
|
|
|
|
{ "nvim-lua/plenary.nvim" },
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
require("config.telescope")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"folke/trouble.nvim",
|
|
|
|
config = function()
|
|
|
|
require("config.trouble")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"lukas-reineke/indent-blankline.nvim",
|
|
|
|
config = function()
|
2023-02-14 22:38:18 +00:00
|
|
|
require("config.indent_blankline")
|
2023-02-13 12:57:12 +00:00
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"numToStr/Navigator.nvim",
|
|
|
|
config = function()
|
2023-02-14 22:38:18 +00:00
|
|
|
require("Navigator").setup()
|
2023-02-13 12:57:12 +00:00
|
|
|
end,
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
config = {
|
|
|
|
display = {
|
|
|
|
open_fn = function()
|
|
|
|
return require("packer.util").float({ border = "single" })
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|