Dude, these sessions are so informative! I want to write a plugin for basic Mercurial support and wasn't sure where to start. Now I know :) Thanks, TJ and Bash!
i'm writing my first neovim plugin, this is a great resource, thank you TJ! For recent viewers: 1:32:14 - you don't need these plugins, it's now built into neovim lua guide :)
Hell yeah this is gold. I've been hacking away for weeks in my nvim config, trying to emulate a plugin that I want... Mostly got it down, and then came across this on accident. You're a boss TJ! And thanks Bash for clarifying things with concise recaps, actually very helpful!
I switched to Neovim for Lua integration after using Vim for almost 25 years. I've had Neovim on my radar for years, but now it was time for a change. Thanks very much.
Tip for people: :enew|put=execute('lua =package.loaded') can be useful when you want to use vim pattern search in any table, this will send the output of =lua package.loaded to buffer 0
I was supposed to watch only the first minute but well, here we are... just watch it the entire video and it was worth it. I've learned alot.... Thank you so much, Teej.
Just went back in the video to review all of the runtime folders and what all of that means and was glad to see I was not the only one doing that; most replayed section of the entire video :D
brilliant! and especially liked how comprehensive it was with the tests and the docs, one more amazing video for the record. Don't know how many times your videos have helped me and countless other people getting started with nvim, amazing advocacy!
The second Wednesday of every month, at 9 AM Pacific Time. Either on my stream or bash's stream. You can follow us on twitter and we always announce what we're planning on doing.
Hello TJ, useful as always. Posted a comment a while about the P() functions you used to print the lua tables. Turned out I only had to keep watching haha. Seriously, I didn't finish this video yet, but I'm learning a lot about neovim and lua! Keep this videos coming.
Thanks TJ and Bashbunni! I always appreciate your deep dives into Neovim and Lua! TJ when you opened a Lua file I saw Sumneko-lua and moon animation on the right side of the screen. Is that a plugin? If so which one?
I want to add text at a specific point in the string. How would I do a string search on the current line in lua? Any pointers to the docs welcome I am just not sure what to look for in the docs.
How does neovim see the plenary functions? I have "undefined global". I have both neodev and plenary installed and working well, so not sure if I just need to point neodev to plenary or point my plugin to neodev/plenary ...
I am stuck already at print. I use lazyvim and figured out how to load a local repo but print is never shown. I think this is lazyvim related but I don't get it. I see that the plugin is loaded.
I know it's a little late, but in case you still care... You don't need a plugin. Those are ligatures. You simply need a terminal that suüports them, like Alacritty or Kitty and a font that has them. For font use the search term coding ligatures.
I'm trying to learn neovim plugin development, and struggling to find information about interactive debugging. Is there any possibility to interactively debug plugin inside neovim. Like creating module, call a function and do step by step debug? Tests is good, but maybe it's a bad habbit but I'm really got used to interactive debugging. I know about printing variables, but it's not that convinient.
I tried to setup that global function, but I end up with E5108: Error executing lua [string “:lua”]:1: attempt to call global ‘P’ ( a nil value ) stack traceback: [string “:lua”]:1: in main chunk Anyone else have this issue?
Can we please stop naming plugin repos "foo.nvim"? if messes up the 'gf' functionality because it will open the folder in a netrw buffer rather than the file "foo.nvim" file (unfortunately vim should be smarter than this, but currently isn't). I think "foo-nvim" is better stick with a bit of tradition and do "nvim-foo" instead.
I really love this format, it gives so much insight into the concepts due to bash asking these questions and the both of you making it very clear. Good shit!
It's like Christmas morning when you're 8 years old every time a new episode of this series lands.
Dude, these sessions are so informative!
I want to write a plugin for basic Mercurial support and wasn't sure where to start. Now I know :)
Thanks, TJ and Bash!
i'm writing my first neovim plugin, this is a great resource, thank you TJ!
For recent viewers: 1:32:14 - you don't need these plugins, it's now built into neovim lua guide :)
Hell yeah this is gold. I've been hacking away for weeks in my nvim config, trying to emulate a plugin that I want... Mostly got it down, and then came across this on accident. You're a boss TJ!
And thanks Bash for clarifying things with concise recaps, actually very helpful!
I switched to Neovim for Lua integration after using Vim for almost 25 years. I've had Neovim on my radar for years, but now it was time for a change. Thanks very much.
Tip for people:
:enew|put=execute('lua =package.loaded') can be useful when you want to use vim pattern search in any table, this will send the output of =lua package.loaded to buffer 0
I was supposed to watch only the first minute but well, here we are... just watch it the entire video and it was worth it. I've learned alot.... Thank you so much, Teej.
Just went back in the video to review all of the runtime folders and what all of that means and was glad to see I was not the only one doing that; most replayed section of the entire video :D
This has got to be one of the best thumbnails on the whole platform❤
brilliant! and especially liked how comprehensive it was with the tests and the docs, one more amazing video for the record. Don't know how many times your videos have helped me and countless other people getting started with nvim, amazing advocacy!
What an awesome video, come back a few times now. Thank you for making / posting the content you do.
Learning a lot from these session, thanks Teej and Bash.
I'm only 12 mins in, but this is absolutely amazing... exactly the type of content I was looking for!
best nvim lua plugin jump-start video!
Is there a schedule for when these happen, to be able to watch it live? Great episode btw
The second Wednesday of every month, at 9 AM Pacific Time. Either on my stream or bash's stream. You can follow us on twitter and we always announce what we're planning on doing.
Amazing video I love you guys. I will be contributing to Neovim soon. All the best to both of you.
Brilliant video!! Would love to see more in this format!
Happy belated birthday TJ!
Just back to the video to watch how to write tests. Amazing video!
If following along and you use as leader, you can't use either you have to use for example " st" and " sz" (literal space before the keys).
As expected 🌝 , killing video as all as 🌝❤️
TG and Bash collabs.
Happy BDay TG.
I'm happy this exists
Great video, thanks! I am just building my first plugin and this was exactly the level I needed to get started.
I want to create my own plugin with lua, and this video looks like it going to be great help, thanks for the content!
Hello TJ, useful as always.
Posted a comment a while about the P() functions you used to print the lua tables. Turned out I only had to keep watching haha.
Seriously, I didn't finish this video yet, but I'm learning a lot about neovim and lua! Keep this videos coming.
So glad to hear it! :)
Great job, still extremely useful and informative
TJ you are a beautiful teacher
Thanks TJ and Bashbunni! I always appreciate your deep dives into Neovim and Lua!
TJ when you opened a Lua file I saw Sumneko-lua and moon animation on the right side of the screen. Is that a plugin? If so which one?
I've been loving these
Awesome video. Great intro to plugins.
1:06:00 the mapping should call ":echo 'Hello'" to actually work and echo 'Hello' to the commandline.
really helpful !
I don't really know what i'm doing. I just wanted to make a theme and ended up deeper into the rabbit hole than what i intended
In the vim runtime, does the folder name matter? Is the runtime limited by folder name and location, or just location?
Super useful!
hey! thx for your video! can you make video about how to create user commands for plugins with autocompletion arguments etc...? 👋
I want to add text at a specific point in the string. How would I do a string search on the current line in lua?
Any pointers to the docs welcome I am just not sure what to look for in the docs.
How does neovim see the plenary functions? I have "undefined global". I have both neodev and plenary installed and working well, so not sure if I just need to point neodev to plenary or point my plugin to neodev/plenary ...
I am stuck already at print. I use lazyvim and figured out how to load a local repo but print is never shown. I think this is lazyvim related but I don't get it. I see that the plugin is loaded.
Great video! Quick question: which plugin do you use to transform stuff like -> into a utf-8 arrow character?
I know it's a little late, but in case you still care... You don't need a plugin. Those are ligatures. You simply need a terminal that suüports them, like Alacritty or Kitty and a font that has them. For font use the search term coding ligatures.
I'm trying to learn neovim plugin development, and struggling to find information about interactive debugging. Is there any possibility to interactively debug plugin inside neovim. Like creating module, call a function and do step by step debug? Tests is good, but maybe it's a bad habbit but I'm really got used to interactive debugging. I know about printing variables, but it's not that convinient.
Great ! Looking forward
Btw why is there less activity nowadays ?
For uploading to the channel? I'm not sure what you mean.
@@teej_dv Sorry, I mean new videos. Thanks for the hard work btw.
is there a way to use dap or something to debug plugins in neovim ? )
I tried to setup that global function, but I end up with
E5108: Error executing lua [string “:lua”]:1: attempt to call global ‘P’ ( a nil value )
stack traceback:
[string “:lua”]:1: in main chunk
Anyone else have this issue?
Same thing here!
Did you manage to make it work?
I want to say my issue was I didn’t include my globals in my init.
For anyone like myself that hasn't yet gotten to the part where they explain what the 'P()' function does, they talk about it here 34:40
@@Programming-zf6kg dude I was 33 minutes in and decided to look through the comments to see if anyone had asked this yet haha
I though we add to use :luafile % to source lua file.. Was it always the case the :source % work with lua file :O
That used to be the case but we made it better!
what is the plugin that you are using to show new line as a arrow character?
:set list
:set listchars=eol:↵
Bro can u do video For non-speakers English
From scratch 🙏🏼
timestamp : 44:02
PLEASE TUTORIAL HOW INSTALL AUTOSAVE FOR NEOVIM
instead of explaning how to create plugin for nvim, here you can listen to lecture of programming for dummies.
Can we please stop naming plugin repos "foo.nvim"? if messes up the 'gf' functionality because it will open the folder in a netrw buffer rather than the file "foo.nvim" file (unfortunately vim should be smarter than this, but currently isn't). I think "foo-nvim" is better stick with a bit of tradition and do "nvim-foo" instead.
I'm not sure what you mean. I don't have any files named foo.nvim in the repo.
@@teej_dv I think he means naming neovim plugin repos something like "myplugin.nvim" as opposed to say "nvim-myplugin".
@@orbital1337 but then why we he think he's going to edit a file of that name?
I came here to learn hard & boring tech stuff, I came for pain & suffering, not your smiley pretty faces!
Bruh change your thumbnail, otherwise it would take viewers couple secs to process that this is vid is a new one. That's not great.
Why is the dude being so cringe? It's super distracting :/
My corpse will be preserved in the cold
I really love this format, it gives so much insight into the concepts due to bash asking these questions and the both of you making it very clear. Good shit!
Yeah, Bash is super good at making sure we go at the right pace for people to learn lots of new stuff!