plugins.lua 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. -- vim.cmd [[packadd packer.nvim]]
  2. local execute = vim.api.nvim_command
  3. local fn = vim.fn
  4. local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
  5. if fn.empty(fn.glob(install_path)) > 0 then
  6. execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path)
  7. execute 'packadd packer.nvim'
  8. end
  9. local my = function(file) require(file) end
  10. vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
  11. -- require('packer').init({display = {non_interactive = true}})
  12. require('packer').init({display = {auto_clean = false}})
  13. return require('packer').startup(function(use)
  14. -- Packer can manage itself as an optional plugin
  15. use 'wbthomason/packer.nvim'
  16. -- Information
  17. -- use 'nanotee/nvim-lua-guide'
  18. -- Quality of life improvements
  19. -- use 'norcalli/nvim_utils'
  20. -- LSP
  21. use 'neovim/nvim-lspconfig'
  22. use 'glepnir/lspsaga.nvim'
  23. use 'onsails/lspkind-nvim'
  24. use 'kosayoda/nvim-lightbulb'
  25. use 'mfussenegger/nvim-jdtls'
  26. use 'kabouzeid/nvim-lspinstall'
  27. -- Debugging
  28. use 'mfussenegger/nvim-dap'
  29. -- Autocomplete
  30. use 'hrsh7th/nvim-compe'
  31. use 'mattn/emmet-vim'
  32. use 'hrsh7th/vim-vsnip'
  33. use "rafamadriz/friendly-snippets"
  34. use 'ChristianChiarulli/html-snippets'
  35. -- Treesitter
  36. use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
  37. use 'p00f/nvim-ts-rainbow'
  38. use {'lukas-reineke/indent-blankline.nvim', branch = 'lua'}
  39. use 'nvim-treesitter/playground'
  40. use 'JoosepAlviste/nvim-ts-context-commentstring'
  41. use 'windwp/nvim-ts-autotag'
  42. -- Icons
  43. use 'kyazdani42/nvim-web-devicons'
  44. use 'ryanoasis/vim-devicons'
  45. -- Status Line and Bufferline
  46. use { 'glepnir/galaxyline.nvim' }
  47. -- use { 'glepnir/galaxyline.nvim', config = function() require'nv-galaxyline' end } -- inline fn alternative
  48. use 'romgrk/barbar.nvim'
  49. -- Telescope
  50. use 'nvim-lua/popup.nvim'
  51. use 'nvim-lua/plenary.nvim'
  52. use 'nvim-telescope/telescope.nvim'
  53. use 'nvim-telescope/telescope-media-files.nvim'
  54. -- Explorer
  55. use 'kyazdani42/nvim-tree.lua'
  56. -- Color
  57. use 'christianchiarulli/nvcode-color-schemes.vim'
  58. use 'norcalli/nvim-colorizer.lua'
  59. use 'sheerun/vim-polyglot'
  60. -- Git
  61. -- use 'TimUntersberger/neogit'
  62. use {'lewis6991/gitsigns.nvim', requires = {'nvim-lua/plenary.nvim'}}
  63. use 'f-person/git-blame.nvim'
  64. use 'tpope/vim-fugitive'
  65. use 'tpope/vim-rhubarb'
  66. -- Easily Create Gists
  67. use 'mattn/vim-gist'
  68. use 'mattn/webapi-vim'
  69. -- Webdev
  70. -- TODO add back when I learn it better
  71. -- use 'gennaro-tedesco/nvim-jqx'
  72. -- use 'turbio/bracey.vim'
  73. -- Php
  74. use 'phpactor/phpactor'
  75. -- Flutter
  76. use 'thosakwe/vim-flutter'
  77. -- Dependency assistent
  78. use 'akinsho/dependency-assist.nvim'
  79. -- Registers
  80. -- use 'gennaro-tedesco/nvim-peekup'
  81. -- Navigation
  82. use 'unblevable/quick-scope' -- hop may replace you
  83. use 'phaazon/hop.nvim'
  84. use 'kevinhwang91/rnvimr' -- telescope may fully replace you
  85. -- General Plugins
  86. use 'liuchengxu/vim-which-key'
  87. use 'kevinhwang91/nvim-bqf'
  88. use 'airblade/vim-rooter'
  89. use 'ChristianChiarulli/dashboard-nvim'
  90. use 'metakirby5/codi.vim'
  91. use {'iamcco/markdown-preview.nvim', run = 'cd app && npm install'}
  92. use 'voldikss/vim-floaterm'
  93. use 'terrortylor/nvim-comment'
  94. use 'monaqa/dial.nvim'
  95. use 'junegunn/goyo.vim'
  96. use 'andymass/vim-matchup'
  97. use 'MattesGroeger/vim-bookmarks'
  98. use 'windwp/nvim-autopairs'
  99. use 'mbbill/undotree'
  100. use 'nacro90/numb.nvim'
  101. use 'turbio/bracey.vim'
  102. -- Database
  103. use 'tpope/vim-dadbod'
  104. use 'kristijanhusak/vim-dadbod-ui'
  105. use 'kristijanhusak/vim-dadbod-completion'
  106. -- Documentation Generator
  107. use {'kkoomen/vim-doge', run = ':call doge#install()'}
  108. -- TODO put this back when stable for indent lines
  109. -- vim.g.indent_blankline_space_char = ''
  110. -- use 'b3nj5m1n/kommentary'
  111. -- use {
  112. -- 'glacambre/firenvim',
  113. -- run = function()
  114. -- vim.fn['firenvim#install'](1)
  115. -- end
  116. -- }
  117. -- use 'glepnir/dashboard-nvim'
  118. -- use 'mhinz/vim-startify'
  119. -- use 'cstrap/python-snippets'
  120. -- use 'ylcnfrht/vscode-python-snippet-pack'
  121. -- use 'norcalli/snippets.nvim'
  122. -- use {'akinsho/nvim-bufferline.lua', requires = 'kyazdani42/nvim-web-devicons'}
  123. -- use 'SirVer/ultisnips'
  124. -- use 'honza/vim-snippets'
  125. -- vim.g.UltiSnipsExpandTrigger="<CR>"
  126. -- vim.g.UltiSnipsJumpForwardTrigger="<Tab>"
  127. -- vim.g.UltiSnipsJumpBackwardTrigger="<S-Tab>"
  128. -- use 'blackcauldron7/surround.nvim'
  129. -- use 'ChristianChiarulli/java-snippets'
  130. -- use 'xabikos/vscode-javascript'
  131. -- use 'dsznajder/vscode-es7-javascript-react-snippets'
  132. -- use 'golang/vscode-go'
  133. -- use 'rust-lang/vscode-rust'
  134. -- use 'ChristianChiarulli/python-snippets'
  135. -- use 'kshenoy/vim-signature'
  136. -- use 'nelstrom/vim-visual-star-search'
  137. -- TODO switch back when config support snips
  138. -- use 'cohama/lexima.vim'
  139. -- use 'bfredl/nvim-miniyank'
  140. -- use 'brooth/far.vim'
  141. -- use 'liuchengxu/vista.vim'
  142. -- use 'psliwka/vim-smoothie'
  143. -- use 'nvim-treesitter/nvim-treesitter-refactor'
  144. -- use 'nvim-treesitter/playground'
  145. -- use 'moll/vim-bbye'
  146. end)