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.

66 lines
1.7 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
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 {
  21. 'nvim-lualine/lualine.nvim',
  22. requires = { { 'kyazdani42/nvim-web-devicons', opt = true },
  23. 'nvim-lua/lsp-status.nvim'
  24. }
  25. }
  26. use 'vim-airline/vim-airline-themes'
  27. use 'tpope/vim-fugitive'
  28. use {
  29. 'VonHeikemen/lsp-zero.nvim',
  30. branch = 'v1.x',
  31. requires = {
  32. -- LSP Support
  33. { 'neovim/nvim-lspconfig' }, -- Required
  34. { 'williamboman/mason.nvim' }, -- Optional
  35. { 'williamboman/mason-lspconfig.nvim' }, -- Optional
  36. -- Autocompletion
  37. { 'hrsh7th/nvim-cmp' }, -- Required
  38. { 'hrsh7th/cmp-nvim-lsp' }, -- Required
  39. { 'hrsh7th/cmp-buffer' }, -- Optional
  40. { 'hrsh7th/cmp-path' }, -- Optional
  41. { 'saadparwaiz1/cmp_luasnip' }, -- Optional
  42. { 'hrsh7th/cmp-nvim-lua' }, -- Optional
  43. -- Snippets
  44. { 'L3MON4D3/LuaSnip' }, -- Required
  45. { 'rafamadriz/friendly-snippets' }, -- Optional
  46. }
  47. }
  48. use 'mattn/emmet-vim'
  49. use 'lervag/vimtex'
  50. use {
  51. 'nvim-tree/nvim-tree.lua',
  52. requires = {
  53. 'nvim-tree/nvim-web-devicons', -- optional, for file icons
  54. },
  55. tag = 'nightly' -- optional, updated every week. (see issue #1193)
  56. }
  57. use 'ethanholz/nvim-lastplace'
  58. end)