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.

85 lines
2.2 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
4 months ago
2 years ago
2 years ago
2 years ago
1 year 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 {
  10. 'windwp/nvim-autopairs'
  11. }
  12. use { "catppuccin/nvim", as = "catppuccin" }
  13. use(
  14. 'nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }
  15. )
  16. use 'nvim-tree/nvim-web-devicons'
  17. use { 'romgrk/barbar.nvim', wants = 'nvim-web-devicons' }
  18. use {
  19. 'nvim-lualine/lualine.nvim',
  20. requires = { { 'kyazdani42/nvim-web-devicons', opt = true },
  21. 'nvim-lua/lsp-status.nvim'
  22. }
  23. }
  24. use 'tpope/vim-fugitive'
  25. use 'lewis6991/gitsigns.nvim'
  26. use {
  27. 'VonHeikemen/lsp-zero.nvim',
  28. branch = 'v1.x',
  29. requires = {
  30. -- LSP Support
  31. { 'neovim/nvim-lspconfig' }, -- Required
  32. { 'williamboman/mason.nvim' }, -- Optional
  33. { 'williamboman/mason-lspconfig.nvim' }, -- Optional
  34. -- Autocompletion
  35. { 'hrsh7th/nvim-cmp' }, -- Required
  36. { 'hrsh7th/cmp-nvim-lsp' }, -- Required
  37. { 'hrsh7th/cmp-buffer' }, -- Optional
  38. { 'hrsh7th/cmp-path' }, -- Optional
  39. { 'saadparwaiz1/cmp_luasnip' }, -- Optional
  40. { 'hrsh7th/cmp-nvim-lua' }, -- Optional
  41. -- Snippets
  42. { 'L3MON4D3/LuaSnip' }, -- Required
  43. { 'rafamadriz/friendly-snippets' }, -- Optional
  44. { "jose-elias-alvarez/null-ls.nvim", "jay-babu/mason-null-ls.nvim" },
  45. { "mfussenegger/nvim-dap", "jay-babu/mason-nvim-dap.nvim" }
  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. -- zen mode
  59. use {
  60. "folke/zen-mode.nvim",
  61. requires = {
  62. { 'folke/twilight.nvim' }
  63. }
  64. }
  65. -- literally the root of all evil
  66. -- use { 'Yggdroot/indentLine' }
  67. use 'gpanders/editorconfig.nvim'
  68. use { 'NvChad/nvim-colorizer.lua', config = function()
  69. require 'colorizer'.setup()
  70. end }
  71. use { 'kevinhwang91/nvim-ufo', requires = 'kevinhwang91/promise-async' }
  72. end)