-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.lua
160 lines (141 loc) · 4.7 KB
/
plugins.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
local fn = vim.fn
-- Automatically install packer
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
PACKER_BOOTSTRAP = fn.system({
"git", "clone", "--depth", "1",
"https://github.com/wbthomason/packer.nvim", install_path
})
print("Installing packer close and reopen Neovim...")
vim.cmd([[packadd packer.nvim]])
end
-- Autocommand that reloads neovim whenever you save the plugins.lua file
vim.cmd([[
augroup packer_user_config
autocmd!
autocmd BufWritePost plugins.lua source <afile> | PackerSync
augroup end
]])
-- Use a protected call so we don't error out on first use
local status_ok, packer = pcall(require, "packer")
if not status_ok then return end
-- Have packer use a popup window
packer.init({
display = {
open_fn = function()
return require("packer.util").float({border = "none"})
end
}
})
-- Install your plugins here
return packer.startup(function(use)
-- Core
use("wbthomason/packer.nvim")
use("nvim-lua/plenary.nvim")
use("lewis6991/impatient.nvim")
use("folke/which-key.nvim")
use("akinsho/toggleterm.nvim")
use("kdheepak/lazygit.nvim")
use("kyazdani42/nvim-tree.lua")
use("anuvyklack/hydra.nvim")
use("sindrets/winshift.nvim")
-- Treesitter
use("nvim-treesitter/nvim-treesitter")
use("nvim-treesitter/nvim-treesitter-context")
-- Telescope
use("nvim-telescope/telescope.nvim")
use("xiyaowong/telescope-emoji.nvim")
use("nvim-telescope/telescope-media-files.nvim")
use("nvim-telescope/telescope-ui-select.nvim")
use("nvim-telescope/telescope-file-browser.nvim")
use("nvim-telescope/telescope-project.nvim")
use("nvim-telescope/telescope-frecency.nvim")
-- More Navigation
use("ibhagwan/fzf-lua")
use("ThePrimeagen/harpoon")
-- UI Elements
use("junegunn/limelight.vim")
use("kyazdani42/nvim-web-devicons")
use("psliwka/vim-smoothie")
use("akinsho/bufferline.nvim")
use("tamton-aquib/staline.nvim")
use("goolord/alpha-nvim")
use("rcarriga/nvim-notify")
use("lewis6991/gitsigns.nvim")
use("folke/todo-comments.nvim")
use("s1n7ax/nvim-window-picker")
use("nvim-lua/popup.nvim")
use("gorbit99/codewindow.nvim")
use("folke/noice.nvim")
use("MunifTanjim/nui.nvim")
use("ElPiloto/significant.nvim")
use("m-demare/hlargs.nvim")
use("Jxstxs/conceal.nvim")
use("echasnovski/mini.indentscope")
-- Colorscheme
use("rebelot/kanagawa.nvim")
use("navarasu/onedark.nvim")
use("folke/tokyonight.nvim")
use("shaunsingh/nord.nvim")
use("marko-cerovac/material.nvim")
use("sainnhe/sonokai")
use("sainnhe/edge")
use("projekt0n/github-nvim-theme")
-- Coding Assistance
use("RishabhRD/nvim-cheat.sh")
use("RishabhRD/popfix")
use("github/copilot.vim")
use("sudormrfbin/cheatsheet.nvim")
use("jackMort/ChatGPT.nvim")
use("dense-analysis/neural")
use({"tzachar/cmp-tabnine", run='./install.sh'})
-- LSP, Linters, Formatters
use("neovim/nvim-lspconfig")
use("onsails/lspkind-nvim")
use("williamboman/mason.nvim")
use("williamboman/mason-lspconfig.nvim")
use("mfussenegger/nvim-dap")
use("jose-elias-alvarez/null-ls.nvim")
use("williamboman/nvim-lsp-installer")
use("folke/trouble.nvim")
use("folke/lsp-trouble.nvim")
use("glepnir/lspsaga.nvim")
-- Snippets
use("L3MON4D3/LuaSnip")
use("notomo/cmp-neosnippet")
-- CMP
use("hrsh7th/nvim-cmp")
use("hrsh7th/cmp-buffer")
use("hrsh7th/cmp-path")
use("hrsh7th/cmp-cmdline")
use("hrsh7th/cmp-nvim-lsp")
use("hrsh7th/cmp-nvim-lua")
use("hrsh7th/cmp-vsnip")
use("hrsh7th/cmp-copilot")
use("uga-rosa/cmp-dynamic")
use("saadparwaiz1/cmp_luasnip")
use("alpha2phi/cmp-openai-codex")
-- Databases
use("kristijanhusak/vim-dadbod-ui")
use("tpope/vim-dadbod")
use("kristijanhusak/vim-dadbod-completion")
-- Docker
-- use("vim-denops/denops.vim")
-- use("skanehira/denops-docker.vim")
-- use("jamestthompson3/nvim-remote-containers")
-- use("kkvh/vim-docker-tools")
-- Others
use("kg8m/vim-simple-align")
use("norcalli/nvim-colorizer.lua")
use("terrortylor/nvim-comment")
use("ggandor/leap.nvim")
use("ggandor/flit.nvim")
use("windwp/nvim-autopairs")
use("antoinemadec/FixCursorHold.nvim")
use("kosayoda/nvim-lightbulb")
use("bennypowers/nvim-regexplainer")
use("abecodes/tabout.nvim")
use("windwp/nvim-spectre")
-- Automatically set up your configuration after cloning packer.nvim
if PACKER_BOOTSTRAP then require("packer").sync() end -- Put this at the end after all plugins
end)