Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

288 lines
5.5 KiB

  1. return {
  2. {
  3. "catppuccin/nvim",
  4. name = "catppuccin",
  5. priority = 1000,
  6. opts = require("config.plugin.catppuccin"),
  7. },
  8. {
  9. "goolord/alpha-nvim",
  10. cond = vim.g.vscode == nil,
  11. dependencies = {
  12. "nvim-tree/nvim-web-devicons",
  13. "nvim-telescope/telescope.nvim",
  14. "persisted"
  15. },
  16. event = "VimEnter",
  17. config = require("config.plugin.nvim-alpha"),
  18. },
  19. {
  20. "romgrk/barbar.nvim",
  21. dependencies = {
  22. "lewis6991/gitsigns.nvim", -- OPTIONAL: for git status
  23. "nvim-tree/nvim-web-devicons", -- OPTIONAL: for file icons
  24. },
  25. init = function()
  26. vim.g.barbar_auto_setup = false
  27. end,
  28. opts = {},
  29. version = "^1.0.0", -- optional: only update when a new 1.x version is released
  30. },
  31. {
  32. "nvim-lualine/lualine.nvim",
  33. dependencies = {
  34. "catppuccin/nvim",
  35. "nvim-tree/nvim-web-devicons",
  36. 'rmagatti/auto-session',
  37. 'AndreM222/copilot-lualine',
  38. "zbirenbaum/copilot.lua",
  39. },
  40. config = require("config.plugin.lualine"),
  41. },
  42. {
  43. "utilyre/barbecue.nvim",
  44. name = "barbecue",
  45. version = "*",
  46. dependencies = {
  47. "SmiteshP/nvim-navic",
  48. "nvim-tree/nvim-web-devicons", -- optional dependency
  49. },
  50. opts = {},
  51. },
  52. {
  53. "lewis6991/gitsigns.nvim",
  54. opts = {},
  55. },
  56. {
  57. "lukas-reineke/headlines.nvim",
  58. dependencies = "nvim-treesitter/nvim-treesitter",
  59. opts = {},
  60. },
  61. {
  62. "ThePrimeagen/harpoon",
  63. branch = "harpoon2",
  64. dependencies = {
  65. "nvim-lua/plenary.nvim",
  66. },
  67. config = require("config.plugin.harpoon2"),
  68. },
  69. {
  70. "nvim-tree/nvim-tree.lua",
  71. version = "*",
  72. lazy = false,
  73. dependencies = {
  74. "romgrk/barbar.nvim",
  75. "nvim-tree/nvim-web-devicons",
  76. },
  77. config = require("config.plugin.nvim-tree"),
  78. },
  79. {
  80. "nvim-neotest/neotest",
  81. dependencies = {
  82. "nvim-lua/plenary.nvim",
  83. "antoinemadec/FixCursorHold.nvim",
  84. "nvim-treesitter/nvim-treesitter",
  85. },
  86. },
  87. {
  88. "folke/which-key.nvim",
  89. event = "VeryLazy",
  90. init = function()
  91. vim.o.timeout = true
  92. vim.o.timeoutlen = 300
  93. end,
  94. config = function()
  95. local settings = require("config.plugin.whichkey")
  96. require("which-key").setup(settings.opts)
  97. require("which-key").register(settings.register)
  98. end,
  99. },
  100. {
  101. "folke/zen-mode.nvim",
  102. opts = {},
  103. },
  104. {
  105. "gauteh/vim-cppman",
  106. },
  107. {
  108. "lervag/vimtex",
  109. },
  110. {
  111. "christoomey/vim-tmux-navigator",
  112. },
  113. {
  114. "echasnovski/mini.nvim",
  115. version = '*',
  116. config = require("config.plugin.mini")
  117. },
  118. {
  119. "tpope/vim-surround",
  120. },
  121. {
  122. "jose-elias-alvarez/null-ls.nvim",
  123. config = require("config.plugin.null-ls"),
  124. },
  125. {
  126. "williamboman/mason.nvim",
  127. config = true,
  128. dependencies = {
  129. "neovim/nvim-lspconfig",
  130. },
  131. },
  132. {
  133. "neovim/nvim-lspconfig",
  134. dependencies = {
  135. "folke/neodev.nvim"
  136. }
  137. },
  138. {
  139. "williamboman/mason-lspconfig.nvim",
  140. opts = {
  141. ensure_installed = require("config.lsp").mason_servers
  142. },
  143. dependencies = {
  144. "folke/neodev.nvim"
  145. }
  146. },
  147. {
  148. "nvim-treesitter/nvim-treesitter",
  149. opts = require("config.plugin.treesitter"),
  150. },
  151. {
  152. "NeogitOrg/neogit",
  153. dependencies = {
  154. "nvim-lua/plenary.nvim",
  155. "sindrets/diffview.nvim",
  156. "nvim-telescope/telescope.nvim",
  157. },
  158. config = true,
  159. },
  160. {
  161. "nvim-telescope/telescope.nvim",
  162. tag = "0.1.5",
  163. dependencies = {
  164. "nvim-lua/plenary.nvim",
  165. "nvim-telescope/telescope-ui-select.nvim",
  166. },
  167. config = function()
  168. local telescope = require("telescope")
  169. local config = require("config.plugin.telescope")
  170. for _, ext in ipairs(config.extensions_list) do
  171. telescope.load_extension(ext)
  172. end
  173. telescope.setup(config)
  174. end,
  175. },
  176. {
  177. "folke/noice.nvim",
  178. event = "VeryLazy",
  179. opts = require("config.plugin.noice"),
  180. dependencies = {
  181. "MunifTanjim/nui.nvim",
  182. "rcarriga/nvim-notify",
  183. },
  184. },
  185. {
  186. "neomutt/neomutt.vim",
  187. },
  188. {
  189. "stevearc/aerial.nvim",
  190. dependencies = {
  191. "nvim-treesitter/nvim-treesitter",
  192. "nvim-tree/nvim-web-devicons",
  193. },
  194. config = require("config.plugin.aerial")
  195. },
  196. {
  197. "dcampos/nvim-snippy",
  198. dependencies = {
  199. "honza/vim-snippets",
  200. },
  201. opts = {},
  202. },
  203. {
  204. "kevinhwang91/nvim-ufo",
  205. dependencies = {
  206. "kevinhwang91/promise-async",
  207. "neovim/nvim-lspconfig",
  208. },
  209. opts = require("config.plugin.nvim-ufo"),
  210. },
  211. {
  212. "rest-nvim/rest.nvim",
  213. dependencies = { { "nvim-lua/plenary.nvim" } },
  214. config = function()
  215. require("rest-nvim").setup({})
  216. end,
  217. },
  218. {
  219. "zbirenbaum/copilot.lua",
  220. cmd = "Copilot",
  221. event = "InsertEnter",
  222. config = require("config.plugin.copilot")
  223. },
  224. {
  225. "zbirenbaum/copilot-cmp",
  226. dependencies = {
  227. "zbirenbaum/copilot.lua",
  228. },
  229. config = true,
  230. },
  231. {
  232. "hrsh7th/nvim-cmp",
  233. config = require("config.plugin.nvim-cmp"),
  234. dependencies = {
  235. "onsails/lspkind.nvim",
  236. "hrsh7th/cmp-nvim-lsp",
  237. "hrsh7th/cmp-nvim-lua",
  238. "hrsh7th/cmp-buffer",
  239. "hrsh7th/cmp-path",
  240. "hrsh7th/cmp-cmdline",
  241. "hrsh7th/cmp-nvim-lsp-signature-help",
  242. "dcampos/cmp-snippy",
  243. "micangl/cmp-vimtex",
  244. "dcampos/nvim-snippy",
  245. },
  246. },
  247. {
  248. "lukas-reineke/indent-blankline.nvim",
  249. main = "ibl",
  250. opts = {},
  251. },
  252. {
  253. "akinsho/toggleterm.nvim",
  254. version = "*",
  255. config = true,
  256. },
  257. {
  258. "olimorris/persisted.nvim",
  259. config = require("config.plugin.persisted"),
  260. dependencies = {
  261. "romgrk/barbar.nvim"
  262. }
  263. },
  264. {
  265. "folke/neodev.nvim",
  266. opts = require("config.plugin.neodev")
  267. },
  268. {
  269. "rcarriga/nvim-dap-ui",
  270. dependencies = {
  271. "pocco81/dap-buddy.nvim",
  272. "mfussenegger/nvim-dap",
  273. },
  274. opts = {}
  275. },
  276. {
  277. "luckasRanarison/nvim-devdocs",
  278. dependencies = {
  279. "nvim-lua/plenary.nvim",
  280. "nvim-telescope/telescope.nvim",
  281. "nvim-treesitter/nvim-treesitter",
  282. },
  283. config = require("config.plugin.nvim-devdocs")
  284. }
  285. }