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.

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