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.

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