My dotfiles
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.

32 lines
1.1 KiB

  1. -- Automatically run :PackerCompile whenever plugins.lua is updated with an autocommand:
  2. vim.api.nvim_create_autocmd('BufWritePost', {
  3. group = vim.api.nvim_create_augroup('PACKER', { clear = true }),
  4. pattern = 'plugins.lua',
  5. command = 'source <afile> | PackerCompile',
  6. })
  7. require('mason').setup()
  8. return require('packer').startup(function(use)
  9. use 'wbthomason/packer.nvim'
  10. use 'glepnir/dashboard-nvim'
  11. use 'joshdick/onedark.vim'
  12. use 'itchyny/lightline.vim'
  13. use 'scrooloose/nerdtree'
  14. use 'tiagofumo/vim-nerdtree-syntax-highlight'
  15. use 'ryanoasis/vim-devicons'
  16. use 'ap/vim-css-color'
  17. use 'vim-syntastic/syntastic'
  18. use 'rhysd/vim-clang-format'
  19. use 'lambdalisue/suda.vim'
  20. use 'neovim/nvim-lspconfig'
  21. use 'jackguo380/vim-lsp-cxx-highlight'
  22. use 'williamboman/mason.nvim'
  23. use 'hrsh7th/nvim-cmp' -- Autocompletion plugin
  24. use 'hrsh7th/cmp-nvim-lsp' -- LSP source for nvim-cmp
  25. use 'saadparwaiz1/cmp_luasnip' -- Snippets source for nvim-cmp
  26. use 'L3MON4D3/LuaSnip' -- Snippets plugin
  27. -- TODO: add telescope and other useful plugins
  28. end)