Migrating from Packer.nvim to Lazy.nvim

Опубликовано: 09 Январь 2023
на канале: Elijah Manor
58,777
1.5k

In this video, I show how to migrate from using packer.nvim to using lazy.nvim (a new package manager for neovim)

https://github.com/folke/lazy.nvim

My starting point in the init.lua file from the kickstart.nvim repo https://github.com/nvim-lua/kickstart... #neovim #vim #terminal

Feel free to join as a member of this channel for special perks https://youtube.com/@elijahmanor/join

0:00 Introduce the topic of the video
0:14 Show our kickstart.nvim starting point
0:37 Capture startup time of kickstart.nvim
0:57 Use hyperfine to get a better startup time
1:25 Replace packer.nvim references with lazy.nvim
4:13 Use :checkhealth lazy to find helpful info to fix
4:46 Use the :Lazy command and show the UI features
5:31 Rerun hyperfine tool to compare startup time
6:02 Pull out all plugins into lua/plugins/init.lua
6:55 Add a new alpha.lua plugin to the plugins folder
7:45 Add a neo-tree.lua plugin that'll lazy load on a command or key
8:59 Extra parts of init.lua files into their own lualine.lua file
10:09 Check out the docs for more info


На этой странице сайта вы можете посмотреть видео онлайн Migrating from Packer.nvim to Lazy.nvim длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Elijah Manor 09 Январь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 58,777 раз и оно понравилось 1.5 тысяч зрителям. Приятного просмотра!