plugins.lua 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. local execute = vim.api.nvim_command
  2. local fn = vim.fn
  3. local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
  4. if fn.empty(fn.glob(install_path)) > 0 then
  5. execute('!git clone https://github.com/wbthomason/packer.nvim '..install_path)
  6. execute 'packadd packer.nvim'
  7. end
  8. vim.cmd [[packadd packer.nvim]]
  9. -- vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
  10. return require('packer').startup(function(use)
  11. -- Packer can manage itself as an optional plugin
  12. use {'wbthomason/packer.nvim', opt = true}
  13. -- Information
  14. use 'nanotee/nvim-lua-guide'
  15. -- Quality of life improvements
  16. use 'norcalli/nvim_utils'
  17. -- LSP
  18. use 'neovim/nvim-lspconfig'
  19. use 'glepnir/lspsaga.nvim'
  20. use 'onsails/lspkind-nvim'
  21. use 'kosayoda/nvim-lightbulb'
  22. use 'mfussenegger/nvim-jdtls'
  23. -- Debugging
  24. use 'mfussenegger/nvim-dap'
  25. -- Autocomplete
  26. use 'hrsh7th/nvim-compe'
  27. use 'hrsh7th/vim-vsnip'
  28. use 'hrsh7th/vim-vsnip-integ'
  29. -- use 'honza/vim-snippets'
  30. -- use 'epilande/vim-react-snippets'
  31. -- use 'xabikos/vscode-javascript'
  32. -- use 'cstrap/python-snippets'
  33. -- use 'ylcnfrht/vscode-python-snippet-pack'
  34. -- use 'golang/vscode-go'
  35. -- use 'rust-lang/vscode-rust'
  36. -- use 'SirVer/ultisnips'
  37. -- use 'norcalli/snippets.nvim'
  38. -- Treesitter
  39. use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' }
  40. use 'nvim-treesitter/playground'
  41. use 'p00f/nvim-ts-rainbow'
  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 {'akinsho/nvim-bufferline.lua', requires = 'kyazdani42/nvim-web-devicons'}
  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. -- Git
  60. use 'TimUntersberger/neogit'
  61. use {'lewis6991/gitsigns.nvim', requires = { 'nvim-lua/plenary.nvim' } }
  62. use 'f-person/git-blame.nvim'
  63. use 'tpope/vim-fugitive'
  64. use 'tpope/vim-rhubarb'
  65. -- Easily Create Gists
  66. use 'mattn/vim-gist'
  67. use 'mattn/webapi-vim'
  68. -- General Plugins
  69. use 'windwp/nvim-autopairs'
  70. use 'kevinhwang91/nvim-bqf'
  71. use 'unblevable/quick-scope'
  72. use 'airblade/vim-rooter'
  73. use 'kevinhwang91/rnvimr'
  74. use 'mhinz/vim-startify'
  75. use 'metakirby5/codi.vim'
  76. use 'psliwka/vim-smoothie'
  77. use {'iamcco/markdown-preview.nvim', run = 'cd app && npm install' }
  78. use 'moll/vim-bbye'
  79. use 'turbio/bracey.vim'
  80. use 'AndrewRadev/tagalong.vim'
  81. use 'alvan/vim-closetag'
  82. use { 'glacambre/firenvim', run = function() vim.fn['firenvim#install'](1) end }
  83. use 'liuchengxu/vim-which-key'
  84. use 'tpope/vim-sleuth'
  85. use 'voldikss/vim-floaterm'
  86. use 'phaazon/hop.nvim'
  87. use 'liuchengxu/vista.vim'
  88. -- use { 'npxbr/glow.nvim', run = ':GlowInstall' }
  89. -- figure out how to disable or configure for things with tags like <div></div> because it will highlight all divs
  90. use 'RRethy/vim-illuminate'
  91. use 'terrortylor/nvim-comment'
  92. --use 'tpope/vim-commentary'
  93. --use 'suy/vim-context-commentstring'
  94. -- use 'b3nj5m1n/kommentary'
  95. use 'andymass/vim-matchup'
  96. use 'sheerun/vim-polyglot'
  97. end)