Vimscript is dead - How to configure Nvim with Lua!

preview_player
Показать описание

Vim 9.0 introduces a new scripting, programming language to replace vimscript. In this video, we'll take a look at configuring Neovim only using lua, without any vimscript.

#johncodes

🚀 SUMMARY: Vim 9.0 has a new programming language that will likely one day replace vimscript entirely. There are alot of questions remaining in core vim around the backwards compatibility of vimscript and this new scripting language going forwards. Thankfully, Neovim has embedded Lua! Huzzah! Let's take a look at how we can configure neovim with lua, and only lua!

Рекомендации по теме
Комментарии
Автор

I appreciate the "slow" tempo and the basic approach to this topic. I have previously watched ThePrimagen and his nvim setup, and even though i prefer his approach in general, i really do appreciate your video more as it is more basic and more explanatory. Thank you!!!

BristlyBright
Автор

The typical problem with all those "cool Lua+Nvim" guys is that they never read language tutorials. So I've started to watch this video and, a miracle! I see him opening Lua reference.. but then I notice it's 5.4. Thanks God, my world stays the same as yesterday. They still haven't learnt the difference between Lua 5.1 and 5.4 )))

Noname-hchc
Автор

I just started learning lua today, but lua to me felt like (perl+javascript+python)/3. Thank you for the amazing tutorial!

eiakimorooka
Автор

I spent like 5 years configuring Vim with like ~50 plugins, and all of them are vimscript. I like having a vimrc which works in original vim and neovim, and I don't want to go through the effort of converting all my stuff into Lua/Neovim alternatives.

AssailantLF
Автор

god thank you. I have been looking for a long time and finally got on your video

tekalegn_amanuel_
Автор

We use packer to install plugins. But how do we install packer? Does it come shipped with neovim?

vikingthedude
Автор

Hey, what's your background music? It sounds great

guobreakinglead
Автор

The title is just ... boom!

This is the last month of 2024, and Vimscript isn't dead yet, in fact, some maintainers of Neovim like justinmk still use Vimscript to configure Neovim

anphambinh
Автор

Great explanations with even better documentation.
Good job mate

DanielToubul
Автор

May I ask what boom arm you are using for your mic? It looks really cool!

iduran
Автор

Any name or reference to the music running in the bg?

mazenmohsen
Автор

Can you share your dotfile repo please. Thanks. This was super useful

markmcdonnell
Автор

WOW! Thank you man, just getting into neovim and this was what I was looking for to get going!

kubahasek
Автор

Why do you call the API "endpoints?" That doesn't make any sense, you're not making RPCs or sending data through a network, you're just calling library functions.

arzelaascoli
Автор

hmm u love to touch a file then open the file in vim when just doing the vim file.txt if u save it at all it makes that. Great video

MENTOKz
Автор

Really awesome/productive/efficient explanation/video, big thank you!

sdscode
Автор

Thanks a lot for this! Really needed this.

needeat
Автор

Can you do a video on how to incorporate go debugger with nvim-dap-go? I really liked this video as I'm switching to Astro Vim and would really know how to set up a debugger. Thank you.

RootsterAnon
Автор

I am still getting errors with packer after renaming

rivelmods
Автор

Can't help noticing you type :wqa every time. Maybe just try :x

kexuyo
visit shbcf.ru