[Demo] Lua Autocmd Patterns

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

#Neovim #Programming #Lua #Autocmds
Рекомендации по теме
Комментарии
Автор

Autocommands are the one part of my config that are 100% copy paste cause I've never known where to start in trying to understand them. This video seems less about the lua version and more about the general concept but turns out that's exactly what I needed

RoryIsNotACabbage
Автор

TJ is just breathing life to the neovim community to be honest, I've seen it happen with my own eyes, first people where excited for the LSP in 5.0 and now we have 5 plugins coming out every day, incredible plugins like nvim-cmp, luasnips neorg etc Keep up the good work TJ ( of course and all the other maintainers )!

lamprospitsillou
Автор

I love these short videos! I have learned more about Autocmd and augroup in the last 3 videos than I could have imagined.

RichardONeil
Автор

How do you have only 6k subscribers? You clearly deserve a lot more.

Thank you for your content as always 👌

KronosaurusRex
Автор

I never bothered using autocommands, but this is now so straightforward. Thank you TJ! I love the neovim content and look forward to each new video.

codehashira
Автор

This one is dope pls bring more of such short videos explaining nvim stuff!

akf
Автор

Very nice.
If anybody else is wondering what the :Mess function was, I believe it's tpope/vim-scriptease.

fridgedigga
Автор

That schedule function just saved my configuration! I'm using a transparent background with a graphic in my terminal emulator and like to highlight the current line with a black background. That wasn't working automatically but now it is!

retrojon_
Автор

Thanks for these autocommand videos, great explanation!

davidfactorial
Автор

This is an excellent practical explanation of autocommands - thanks!

ianmcgaunn
Автор

I love TJ so much I watched 4m 9s of ads for a 7 min video <3

desuburinga
Автор

Hey TJ, I'm currently watching a ton of videos from your channel for my very first nvim config and I love the journey so far, so thanks a lot!

Also, I'm really curious about the Lua icon you've got here in the status line, since it has this nice looking outline.
How did you manage to get that look?

nael_nocteon
Автор

It's like you read my mind. Thank you.

russellhelmstedter
Автор

Is the :Mess command something you've just added to your config or is it part of a plugin? Looks pretty dope!

Mawkler
Автор

ahh thanks for showing the lua style equivalent!!

picosdrivethru
Автор

Heyy, how did you get the messages to show up in that window? Could you link to the place in your dotfiles where you configured that please?

joshpetit
Автор

What is the like only wrapping three print statements on vim.schedule as opposed to the entire callback?

aleclowry
Автор

Hey teej, great video, but just so you know I think the music is a little loud, it's kinda hard to understand what you're saying at times.

Thanks!

thaddaeusmarkle
Автор

How to inspect file with no filetype?
It didn't output anything on messages for file with empty filetype

mohammadanton
Автор

Very insightful as always. I was wondering if could make a video on nvim_add_user_command as well... like how to incorporate <f-args>, -bang, etc. And, explain filetype.lua as well :)
Also, I wish I had found this channel a year ago. My config files would've been so much different. Thanks and cheers!

Edit:Something that I forgot to ask by the way: when does Neovim plan to add API for highlights and cnoreabbrev (I realise they aren't important in the grand scheme of things but, still lol) lastly what's the difference between vim.schedule and vim.schedule_wrap?

nmo