2022-11-02 09:44:34 +00:00
|
|
|
vim.cmd([[
|
|
|
|
augroup packer_user_config
|
|
|
|
autocmd!
|
|
|
|
autocmd BufWritePost plugins.lua source <afile> | PackerCompile
|
|
|
|
augroup end
|
|
|
|
]])
|
|
|
|
|
2022-11-07 15:32:06 +00:00
|
|
|
require('packer').startup {
|
|
|
|
function(use)
|
|
|
|
use 'wbthomason/packer.nvim'
|
2023-02-01 07:49:12 +00:00
|
|
|
use 'lewis6991/impatient.nvim'
|
|
|
|
use 'stevearc/dressing.nvim'
|
2022-12-20 10:37:09 +00:00
|
|
|
use {
|
2023-02-08 23:54:40 +00:00
|
|
|
"EdenEast/nightfox.nvim",
|
2023-01-31 15:22:04 +00:00
|
|
|
config = function ()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.nightfox'
|
2022-12-20 10:37:09 +00:00
|
|
|
end
|
|
|
|
}
|
2023-02-08 23:54:40 +00:00
|
|
|
use {
|
|
|
|
'nanozuki/tabby.nvim',
|
|
|
|
config = function ()
|
|
|
|
require 'config.tabby'
|
|
|
|
end
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
"navarasu/onedark.nvim",
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
use {
|
|
|
|
'rcarriga/nvim-notify',
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-01-16 11:25:17 +00:00
|
|
|
require("notify").setup {
|
|
|
|
background_colour = "#282c34",
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
vim.notify = require("notify")
|
|
|
|
end
|
|
|
|
}
|
2023-02-01 07:49:12 +00:00
|
|
|
use {
|
|
|
|
'vigoux/notifier.nvim',
|
|
|
|
config = function ()
|
|
|
|
require('notifier')
|
|
|
|
end
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
use 'kyazdani42/nvim-web-devicons'
|
|
|
|
use 'nvim-lua/plenary.nvim'
|
2022-11-28 13:25:36 +00:00
|
|
|
use {
|
2023-01-31 13:42:24 +00:00
|
|
|
'neovim/nvim-lspconfig',
|
|
|
|
'hrsh7th/nvim-cmp',
|
2022-11-28 13:25:36 +00:00
|
|
|
'hrsh7th/cmp-nvim-lsp',
|
|
|
|
'hrsh7th/cmp-buffer',
|
|
|
|
'hrsh7th/cmp-path',
|
|
|
|
'hrsh7th/cmp-cmdline',
|
2023-01-31 13:42:24 +00:00
|
|
|
'f3fora/cmp-spell',
|
|
|
|
'petertriho/cmp-git',
|
|
|
|
'Dosx001/cmp-commit',
|
|
|
|
'kdheepak/cmp-latex-symbols',
|
|
|
|
'L3MON4D3/LuaSnip',
|
|
|
|
'saadparwaiz1/cmp_luasnip',
|
|
|
|
'rafamadriz/friendly-snippets',
|
|
|
|
'windwp/nvim-autopairs',
|
2023-01-31 14:41:46 +00:00
|
|
|
'https://github.com/jose-elias-alvarez/null-ls.nvim',
|
2022-11-28 13:25:36 +00:00
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
use {
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.treesitter'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
2023-01-31 16:23:54 +00:00
|
|
|
use {
|
|
|
|
"ThePrimeagen/refactoring.nvim",
|
|
|
|
requires = {
|
|
|
|
{"nvim-lua/plenary.nvim"},
|
|
|
|
{"nvim-treesitter/nvim-treesitter"}
|
|
|
|
},
|
|
|
|
config = function ()
|
|
|
|
require("refactoring").setup()
|
|
|
|
end
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
use {
|
|
|
|
'j-hui/fidget.nvim',
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.fidget'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'stevearc/aerial.nvim',
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.aerial'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'tpope/vim-fugitive',
|
|
|
|
opt = true,
|
2022-11-07 16:41:35 +00:00
|
|
|
cmd = { 'G', 'Git' }
|
2022-11-07 15:32:06 +00:00
|
|
|
}
|
|
|
|
use {
|
|
|
|
'https://github.com/lewis6991/gitsigns.nvim.git',
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.gitsigns'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
|
|
|
use {
|
2023-02-08 23:54:40 +00:00
|
|
|
'feline-nvim/feline.nvim',
|
|
|
|
config = function ()
|
|
|
|
require 'config.feline'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
2023-02-08 23:54:40 +00:00
|
|
|
use {
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
use {
|
|
|
|
'kyazdani42/nvim-tree.lua',
|
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.nvim-tree'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
2023-01-25 18:36:39 +00:00
|
|
|
use {
|
2023-01-26 17:10:57 +00:00
|
|
|
"ahmedkhalf/project.nvim",
|
2023-01-25 18:36:39 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.project'
|
2023-01-25 18:36:39 +00:00
|
|
|
end
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
use {
|
|
|
|
'akinsho/toggleterm.nvim',
|
|
|
|
tag = 'v2.*',
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.toggleterm'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
2023-01-26 17:10:57 +00:00
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope-fzf-native.nvim',
|
|
|
|
run = 'make'
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
branch = '0.1.x',
|
|
|
|
requires = {
|
2022-11-07 16:41:35 +00:00
|
|
|
{ 'nvim-lua/plenary.nvim' }
|
2022-11-07 15:32:06 +00:00
|
|
|
},
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.telescope'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'folke/trouble.nvim',
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.trouble'
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
"lukas-reineke/indent-blankline.nvim",
|
2022-11-07 16:41:35 +00:00
|
|
|
config = function()
|
2023-01-31 15:22:04 +00:00
|
|
|
require('indent_blankline').setup {
|
|
|
|
show_current_context = true,
|
|
|
|
show_current_context_start = false,
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
end
|
|
|
|
}
|
2023-02-09 15:47:44 +00:00
|
|
|
use 'sunaku/tmux-navigate'
|
2022-11-07 15:32:06 +00:00
|
|
|
end,
|
|
|
|
config = {
|
|
|
|
display = {
|
2022-11-07 16:41:35 +00:00
|
|
|
open_fn = function()
|
2022-11-07 15:32:06 +00:00
|
|
|
return require('packer.util').float({ border = 'single' })
|
|
|
|
end
|
2022-11-02 13:40:30 +00:00
|
|
|
},
|
|
|
|
}
|
2022-11-07 15:32:06 +00:00
|
|
|
}
|
2023-02-08 23:54:40 +00:00
|
|
|
require 'config.lsp'
|
|
|
|
require 'config.cmp'
|