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-16 11:25:35 +00:00
|
|
|
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
|
|
|
|
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({
|
2023-02-16 11:25:35 +00:00
|
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
|
|
branch = "v2.x",
|
|
|
|
requires = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
|
|
|
"MunifTanjim/nui.nvim",
|
|
|
|
},
|
2023-02-16 11:49:25 +00:00
|
|
|
config = function()
|
|
|
|
require("config.neotree")
|
|
|
|
end,
|
2023-02-13 12:57:12 +00:00
|
|
|
})
|
|
|
|
use({
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
branch = "0.1.x",
|
|
|
|
requires = {
|
|
|
|
{ "nvim-lua/plenary.nvim" },
|
2023-02-16 11:25:35 +00:00
|
|
|
{
|
|
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
|
|
run = "make",
|
|
|
|
},
|
2023-02-13 12:57:12 +00:00
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
require("config.telescope")
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
use({
|
|
|
|
"folke/trouble.nvim",
|
2023-02-15 17:29:08 +00:00
|
|
|
requires = "nvim-tree/nvim-web-devicons",
|
2023-02-13 12:57:12 +00:00
|
|
|
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,
|
|
|
|
})
|
2023-02-16 11:49:25 +00:00
|
|
|
use({
|
|
|
|
"klen/nvim-test",
|
|
|
|
config = function()
|
2023-02-16 11:58:45 +00:00
|
|
|
require("config.nvim-test")
|
2023-02-16 11:49:25 +00:00
|
|
|
end,
|
|
|
|
})
|
2023-02-13 12:57:12 +00:00
|
|
|
end,
|
|
|
|
config = {
|
|
|
|
display = {
|
|
|
|
open_fn = function()
|
|
|
|
return require("packer.util").float({ border = "single" })
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|