Neovim configs for 2023. Hopefully they last.
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.

48 lines
1.4 KiB

2 years ago
  1. vim.cmd [[packadd packer.nvim]]
  2. return require('packer').startup(function(use)
  3. -- Packer can manage itself
  4. use 'wbthomason/packer.nvim'
  5. use {
  6. 'nvim-telescope/telescope.nvim', tag = '0.1.1',
  7. requires = { {'nvim-lua/plenary.nvim'} }
  8. }
  9. use 'Townk/vim-autoclose'
  10. use {
  11. 'joshdick/onedark.vim', config = function()
  12. vim.cmd("colorscheme onedark")
  13. end
  14. }
  15. use (
  16. 'nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}
  17. )
  18. use 'nvim-tree/nvim-web-devicons'
  19. use {'romgrk/barbar.nvim', wants = 'nvim-web-devicons'}
  20. use 'vim-airline/vim-airline'
  21. use 'vim-airline/vim-airline-themes'
  22. use {
  23. 'VonHeikemen/lsp-zero.nvim',
  24. branch = 'v1.x',
  25. requires = {
  26. -- LSP Support
  27. {'neovim/nvim-lspconfig'}, -- Required
  28. {'williamboman/mason.nvim'}, -- Optional
  29. {'williamboman/mason-lspconfig.nvim'}, -- Optional
  30. -- Autocompletion
  31. {'hrsh7th/nvim-cmp'}, -- Required
  32. {'hrsh7th/cmp-nvim-lsp'}, -- Required
  33. {'hrsh7th/cmp-buffer'}, -- Optional
  34. {'hrsh7th/cmp-path'}, -- Optional
  35. {'saadparwaiz1/cmp_luasnip'}, -- Optional
  36. {'hrsh7th/cmp-nvim-lua'}, -- Optional
  37. -- Snippets
  38. {'L3MON4D3/LuaSnip'}, -- Required
  39. {'rafamadriz/friendly-snippets'}, -- Optional
  40. }
  41. }
  42. use 'mattn/emmet-vim'
  43. use 'lervag/vimtex'
  44. end)