Тёмный

Leveraging lazy.nvim Structural Features after Migrating from Packer 

Andrew Courter
Подписаться 7 тыс.
Просмотров 2 тыс.
50% 1

In this video I go over migrating from the Vim runtime after/ folder to the lazy.nvim plugin loading structure for better extensibility and allowing for lazy.nvim to lazy load plugins. I migrated from Packer to lazy.nvim and had this work to do after migrating.
Companion Article: / leveraging-lazy-nvim-s...
My Neovim config: github.com/exosyphon/nvim
Vim Runtime Video: • Exploring The Magic Of...
Packer to lazy.nvim Video: • Migrate from Notion to...
Join the channel to get access to perks:
/ @ascourter
Twitter: / exosyphon
Website: andrewcourter.com
Twitch: / exosyphon
Gear:
Mic: amzn.to/40GUGFg
Mic Interface: amzn.to/3YGxaGE
Mic preamp: amzn.to/3XtBXtY
Webcam: amzn.to/3OEOZRU
Boom Arm: amzn.to/3qLr0GE
Vissles (VS II switches): vissles.com/?ref=69zn8aei20 - Coupon Code for $5 off: ANDREWCOURTER
IQUNIX F97 (TTC ACE switches): iqunix.store/collections/f97-...
Free Stock Footage by videezy.com/
🎵 Music
Music : Way Home by Tokyo Music Walker
Stream & Download : fanlink.to/tmw_way_home
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
⏰ Timestamps
0:00 Intro
0:54 Overview
2:21 Migrate plugins Lua table
5:23 Migrate plugin files into plugins/
8:15 Final step
8:54 Outro
#neovim #coding #lazy #vim

Наука

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
2 месяца назад
To enhance functionality, consider relocating your harpoon keymaps to the “keys” section within the plugin declaration. This adjustment enables the plugin to initiate lazy loading triggered by keymap activations.
@ascourter
@ascourter 2 месяца назад
Nice! Thanks for that suggestion, I'll update that config.
@ascourter
@ascourter 2 месяца назад
Let me know what other Neovim content you want to see!
@Nishanth_S
@Nishanth_S 2 месяца назад
I know you have video for nvim java setup. But that will only work on maven or gradle. What about ant users and so on?. If possible, please add video about dependency management in java nvim. So that we can use lsp things in nvim. Eventhough we not use gradle or maven. Cause Some old IT company use only ant. I hope you understand my request.
@ericlindell3777
@ericlindell3777 2 месяца назад
Great vid, thanks!
@ascourter
@ascourter 2 месяца назад
Thanks for watching!
@christinwhite4876
@christinwhite4876 2 месяца назад
Great video on lazy! This is off topic but you have several apps running in your menu bar I don’t recognize, I’d love a video about some of the non-terminal tools you use.
@ascourter
@ascourter 2 месяца назад
Thanks! And thanks for the request! I had another person ask a similar question so I'm working on a script for this.
@cody_codes_youtube
@cody_codes_youtube 2 месяца назад
FIRST LIKE AND COMMENT
@ascourter
@ascourter 2 месяца назад
You are speedy friend
@cody_codes_youtube
@cody_codes_youtube 2 месяца назад
@@ascourter notification squad
@JoelJosephReji
@JoelJosephReji 2 месяца назад
I'm not sure I understand why we need to keep our config along with the plugin install. What exactly is the issue with having the plugins in the table for lazy and putting the configuration in the after folder?
@ascourter
@ascourter 2 месяца назад
Good question, the after folder uses a different loading mechanism that is outside lazy.nvim. So it cannot lazy load plugins in the after folder. Anytime you have a require in the after directory the plugin gets loaded.
@JoelJosephReji
@JoelJosephReji 2 месяца назад
@@ascourter ah ok, so lazy assumes that when require hits for the plugin, its time to load it, right?
@ascourter
@ascourter 2 месяца назад
@@JoelJosephReji require is your Lua code pulling in the plugin. Lazy.nvim is controlling when that require line gets run. If that require is in your after directory then the vim runtime is calling it. Hope that helps a little.
@JoelJosephReji
@JoelJosephReji 2 месяца назад
@@ascourter yeah, that makes sense! Thanks for explaining!
Далее
Code Folding in Neovim
11:22
Просмотров 14 тыс.
Autocommands in Neovim
7:09
Просмотров 5 тыс.
skibidi toilet multiverse 039 (part 1)
05:29
Просмотров 6 млн
I Built 100 Homes And Gave Them Away!
09:36
Просмотров 45 млн
Setup Neovim for Kotlin Development
11:55
Просмотров 6 тыс.
Which is Better Flash.nvim OR Leap.nvim?
11:35
Просмотров 8 тыс.
Migrate from Notion to Obsidian
15:15
Просмотров 16 тыс.
day 33: coding everyday until employed
10:09
Просмотров 2,2 тыс.
Search and Replace with nvim-spectre
0:55
Why oil.nvim is the best directory plugin
9:12
Просмотров 22 тыс.
Why I use VSCode and not neovim.
1:00
Просмотров 75 тыс.
Maven Tutorial Practical
12:04
Просмотров 322 тыс.
BINARY vs TEXT File Serialization
13:49
Просмотров 47 тыс.
Развод с OZON - ноутбук за 2875₽
17:48