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.

70 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
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 { "catppuccin/nvim", as = "catppuccin" }
  11. use(
  12. 'nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }
  13. )
  14. use 'nvim-tree/nvim-web-devicons'
  15. use { 'romgrk/barbar.nvim', wants = 'nvim-web-devicons' }
  16. use {
  17. 'nvim-lualine/lualine.nvim',
  18. requires = { { 'kyazdani42/nvim-web-devicons', opt = true },
  19. 'nvim-lua/lsp-status.nvim'
  20. }
  21. }
  22. use 'vim-airline/vim-airline-themes'
  23. use 'tpope/vim-fugitive'
  24. use {
  25. 'VonHeikemen/lsp-zero.nvim',
  26. branch = 'v1.x',
  27. requires = {
  28. -- LSP Support
  29. { 'neovim/nvim-lspconfig' }, -- Required
  30. { 'williamboman/mason.nvim' }, -- Optional
  31. { 'williamboman/mason-lspconfig.nvim' }, -- Optional
  32. -- Autocompletion
  33. { 'hrsh7th/nvim-cmp' }, -- Required
  34. { 'hrsh7th/cmp-nvim-lsp' }, -- Required
  35. { 'hrsh7th/cmp-buffer' }, -- Optional
  36. { 'hrsh7th/cmp-path' }, -- Optional
  37. { 'saadparwaiz1/cmp_luasnip' }, -- Optional
  38. { 'hrsh7th/cmp-nvim-lua' }, -- Optional
  39. -- Snippets
  40. { 'L3MON4D3/LuaSnip' }, -- Required
  41. { 'rafamadriz/friendly-snippets' }, -- Optional
  42. }
  43. }
  44. use 'mattn/emmet-vim'
  45. use 'lervag/vimtex'
  46. use {
  47. 'nvim-tree/nvim-tree.lua',
  48. requires = {
  49. 'nvim-tree/nvim-web-devicons', -- optional, for file icons
  50. },
  51. tag = 'nightly' -- optional, updated every week. (see issue #1193)
  52. }
  53. use 'ethanholz/nvim-lastplace'
  54. -- zen mode
  55. use {
  56. "folke/zen-mode.nvim",
  57. requires = {
  58. { 'folke/twilight.nvim' }
  59. }
  60. }
  61. end)