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.

177 lines
3.9 KiB

  1. return require('packer').startup(function()
  2. -- Packer can manage itself
  3. use { 'wbthomason/packer.nvim' }
  4. -- colorschemes
  5. use { 'gruvbox-community/gruvbox' }
  6. use { 'bluz71/vim-moonfly-colors' }
  7. use {
  8. 'github/copilot.vim',
  9. config = function()
  10. require('config.copilot')
  11. end
  12. }
  13. use {
  14. 'ojroques/nvim-osc52',
  15. config = function()
  16. require('config.osc52')
  17. end
  18. }
  19. use { 'SirVer/ultisnips' }
  20. use {
  21. 'VonHeikemen/lsp-zero.nvim',
  22. requires = {
  23. -- LSP Support
  24. {'neovim/nvim-lspconfig'},
  25. {'williamboman/mason.nvim'},
  26. {'williamboman/mason-lspconfig.nvim'},
  27. -- Autocompletion
  28. {'hrsh7th/nvim-cmp'},
  29. {'hrsh7th/cmp-buffer'},
  30. {'hrsh7th/cmp-path'},
  31. {'saadparwaiz1/cmp_luasnip'},
  32. {'hrsh7th/cmp-nvim-lsp'},
  33. {'hrsh7th/cmp-nvim-lua'},
  34. -- Snippets
  35. {'L3MON4D3/LuaSnip'},
  36. {'rafamadriz/friendly-snippets'},
  37. },
  38. config = function()
  39. require('config.lsp')
  40. end
  41. }
  42. use {
  43. 'tpope/vim-fugitive',
  44. config = function()
  45. require('config.fugitive')
  46. end
  47. }
  48. use { 'shumphrey/fugitive-gitlab.vim' }
  49. use {
  50. "AckslD/nvim-neoclip.lua",
  51. requires = {
  52. {'kkharji/sqlite.lua', module = 'sqlite'},
  53. {'nvim-telescope/telescope.nvim'},
  54. },
  55. config = function()
  56. require('config.neoclip')
  57. end,
  58. }
  59. use { 'nvim-lua/popup.nvim' }
  60. use { 'nvim-lua/plenary.nvim' }
  61. use {
  62. 'nvim-telescope/telescope.nvim',
  63. config = function()
  64. require('config.telescope')
  65. end
  66. }
  67. use { 'nvim-telescope/telescope-fzy-native.nvim'}
  68. use {
  69. 'Rican7/php-doc-modded',
  70. config = function()
  71. require('config.php-doc')
  72. end
  73. }
  74. use { 'dart-lang/dart-vim-plugin' }
  75. use { 'nvim-treesitter/nvim-treesitter' }
  76. use {
  77. 'lewis6991/gitsigns.nvim',
  78. config = function()
  79. require('config.gitsigns')
  80. end
  81. }
  82. use {
  83. 'nvim-lualine/lualine.nvim',
  84. requires = {
  85. 'kyazdani42/nvim-web-devicons',
  86. 'nvim-lua/lsp-status.nvim',
  87. opt = true
  88. },
  89. config = function()
  90. require('config.lualine')
  91. end
  92. }
  93. use { 'ray-x/guihua.lua' }
  94. use {
  95. 'ray-x/go.nvim',
  96. config = function()
  97. require('config.go')
  98. end
  99. }
  100. use {
  101. 'aserowy/tmux.nvim',
  102. config = function ()
  103. require('config.tmux')
  104. end
  105. }
  106. use {
  107. "nvim-neo-tree/neo-tree.nvim",
  108. branch = "v2.x",
  109. requires = {
  110. "nvim-lua/plenary.nvim",
  111. "kyazdani42/nvim-web-devicons",
  112. "MunifTanjim/nui.nvim",
  113. },
  114. config = function ()
  115. require('config.nvim-neo-tree')
  116. end
  117. }
  118. use {
  119. 'glepnir/dashboard-nvim',
  120. event = 'VimEnter',
  121. config = function()
  122. require('config.dashboard')
  123. end,
  124. requires = {'nvim-tree/nvim-web-devicons'}
  125. }
  126. use {
  127. "nvim-neotest/neotest",
  128. requires = {
  129. "nvim-lua/plenary.nvim",
  130. "nvim-treesitter/nvim-treesitter",
  131. "antoinemadec/FixCursorHold.nvim",
  132. -- Adapters
  133. "olimorris/neotest-phpunit",
  134. "nvim-neotest/neotest-go",
  135. },
  136. config = function()
  137. require('config.neotest')
  138. end,
  139. }
  140. use {
  141. 'MunifTanjim/prettier.nvim',
  142. requires = {
  143. 'jose-elias-alvarez/null-ls.nvim',
  144. 'neovim/nvim-lspconfig',
  145. },
  146. config = function()
  147. require('config.null-ls')
  148. require('config.prettier')
  149. end
  150. }
  151. end)