NeovimConf 2022: Lua, a Primer

  Рет қаралды 21,124

John McBride

John McBride

Күн бұрын

► Live on twitch: twitch.com/joh...
► Twitter: / johncodez
► Home page: johncodes.com
Let's take a look at Lua; how to use it, how it integrates with NeoVim, and how you can get going with it quickly.
#johncodes
🚀 SUMMARY:
This talk originally appeared live as part of NeovimConf 2022 live on the Primeagens stream over on Twitch. In this talk, I discuss how to use Lua and how you can get started with it quickly. We also touch on how you can use it to configure your neovim configuration. Finally, we touch on some of the powerful APIs and interfaces available through Lua to create plugins and simple scripts.
Download Lua: www.lua.org/do...
Lua reference manual: www.lua.org/ma...
Nvim Lua docs: neovim.io/doc/...
The GitHub Nvim Lua Guide: github.com/nan...
🤔 About:
Hi all, I’m John, an experienced software engineer and open source software enthusiast. I make fun and informative videos about tech, engineering, productivity, and life! Like, comment, and subscribe for more!!

Пікірлер: 22
@pratyushrao7979
@pratyushrao7979 11 ай бұрын
Lua mentioned! Let's go brazillll
@dan_le_brown
@dan_le_brown 9 ай бұрын
This was a good watch to get started understanding Lua and Neovim
@monugupta32
@monugupta32 Жыл бұрын
This is wonderful, I'm starting with lua & it's manual, the way lua is used in neovim config with vims api is something i found confusing off the bat.
@karnellschultz6446
@karnellschultz6446 3 ай бұрын
thanks dude!
@iconoclastsc2
@iconoclastsc2 Жыл бұрын
Thanks, this was useful.
@rajeshwarprasad9061
@rajeshwarprasad9061 Жыл бұрын
Having a data structure which is a mix of array and dictionary is genius
@biggerdoofus
@biggerdoofus 4 ай бұрын
Good primer, but there is one aspect I think should've been included: values vs. references. Tables are references. I think userdata types are too, but they're basically opaque tables. Everything else are values.
@dannyize
@dannyize 2 жыл бұрын
Take a shot of vodka every time you hear "footgun".
@JohnCodes
@JohnCodes 2 жыл бұрын
I would be drunk.
@dannyize
@dannyize 2 жыл бұрын
I should add that I am a subscriber and that I liked the video. I had to google footgun. I was pleased that I had heard it correctly; my hearing is not as good as it was. Also, I am not a pro developer.
@rodelias9378
@rodelias9378 2 жыл бұрын
Lua, a prime .. agen
@JohnCodes
@JohnCodes 2 жыл бұрын
haha!
@Linuxdirk
@Linuxdirk Жыл бұрын
Lua returning `nil` for things it doesn't know is actually quite awesome. You can just do things like `print(v[99] or "I don't know.")`.
@destinlee
@destinlee 2 жыл бұрын
John awesome video. Enjoyed it live and this rewatch. Quick question. What tool do you use to display your keystrokes??
@JohnCodes
@JohnCodes 2 жыл бұрын
Thanks so much! The utility for getting your keystrokes onscreen is called "screenkey"
@destinlee
@destinlee 2 жыл бұрын
@@JohnCodes Thank you good sir!!
@GoogleUser-uv9bo
@GoogleUser-uv9bo 7 ай бұрын
Yes yes, I learnt x in y minutes.
@shaileshsundram
@shaileshsundram 2 жыл бұрын
The talk is informative but the video quality is sub-par.
@JohnCodes
@JohnCodes 2 жыл бұрын
Yeah, they had some stream trouble trying to do the re-stream with multiple people. Hopefully next year it's better!
@BryanChance
@BryanChance Жыл бұрын
Uppercase variables are used to indicate global? That's a terrible way to fix Lua's global by default thing. LOL
@lmnts556
@lmnts556 Жыл бұрын
They REALLY need to change it to indexing starting at 0, everyone should be adapting the same, not different things. It so silly and SO ANNOYING.
Everything You Need To Start Writing Lua
28:15
TJ DeVries
Рет қаралды 65 М.
Wrapping your favorite CLI in neovim
26:15
senkwich
Рет қаралды 11 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Lua Crash Course - Less than 15mins
14:50
PohkaDev
Рет қаралды 127 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 918 М.
A Powerful Way To Make Editing Code In Neovim Even Better
17:48
Josean Martinez
Рет қаралды 134 М.
Writing Plugins - It's Never Been Easier (NeovimConf 2022)
23:49
Vimscript is dead - How to configure Nvim with Lua!
17:35
John McBride
Рет қаралды 51 М.
Neovim has it's own terminal?!
10:25
TJ DeVries
Рет қаралды 31 М.
(Neo)Vim Made Me a Better Software Developer
40:27
vim-jp
Рет қаралды 62 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 610 М.
Why I’m Learning Rust in 2024 (and new dev environment)
16:53
ForrestKnight
Рет қаралды 72 М.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 150 М.