Learn Lua with NeoVim
Learn Lua programming and NeoVim at the same time.
32 episodes
0
Learn Lua in Neovim: Hello World with print() & :!lua % | Episode 1
1
Learn Lua in Neovim: Variables and Types β€” local, type() & Nil | Episode 2
2
Learn Lua in Neovim: Numbers and Arithmetic β€” Operators & Receipt Calculator | Episode 3
3
Lua for Beginners: String Creation, .., # Length & string.upper/lower | Episode 4
4
Learn Lua in Neovim: Booleans, Nil & Comparisons β€” The Truthy Gotcha | Episode 5
5
Learn Lua in Neovim: Comments & User Input β€” io.read() & tonumber() | Episode 6
6
Learn Lua in Neovim: If Statements β€” if, elseif, else & Grade Calculator | Episode 7
7
Learn Lua in Neovim: Logical Operators β€” and, or, not & Ternary Idiom | Episode 8
8
Learn Lua in Neovim: Numeric For Loops β€” Count, Step & Countdown | Episode 9
9
Lua in Neovim: While and Repeat Loops β€” Conditions, Halving & Choosing the Right Loop | Episode 10
10
Lua in Neovim: Break and Nested Loops β€” Star Patterns & Finding Divisible Numbers | Episode 11
11
Learn Lua in Neovim: Functions β€” Basics, Parameters vs Arguments & return | Episode 12
12
Learn Lua in Neovim: Multiple Returns and Variadics β€” return a, b and ... | Episode 13
13
Learn Lua in Neovim: Variable Scope β€” local Keyword, Block Scope & Always Use Local | Episode 14
14
Learn Lua in Neovim: First-Class Functions β€” Store, Pass & Filter with Functions | Episode 15
15
Lua with Neovim: Closures β€” Upvalues, Counter Factory & Functions That Remember | Episode 16
16
Learn Lua in Neovim: Tables as Arrays β€” 1-Based Indexing, Insert, Remove & Length | Episode 17
17
Learn Lua in Neovim: Table Array Operations β€” Sort, Concat & Custom Comparators | Episode 18
18
Lua with Neovim: Tables as Dictionaries β€” Key-Value Pairs, Dot & Bracket Notation | Episode 19
19
Learn Lua in Neovim: Iterating Tables β€” pairs, ipairs, Gap Behavior & Word Counter | Episode 20
20
Lua with Neovim: Nested Tables β€” Tables Inside Tables, Chained Access & Averages | Episode 21
21
Learn Lua in Neovim: Table References vs Copies β€” The Copy Trap, Shallow & Deep Copy | Episode 22
22
Learn Lua in Neovim: Math & String Libraries β€” floor, random, sub, format & Dice Roller | Episode 23
23
Lua with NeoVim: Modules and Require β€” local M = {}, return M & require() | Episode 24
24
Lua with Neowin: String Patterns β€” %a %d %s %w, Quantifiers, match & gmatch | Episode 25
25
Lua with Neowin: File I/O β€” io.open, Read Modes, Write Modes & io.lines | Episode 26
26
Lua for Beginners: Error Handling β€” Handling Things That Go Wrong with pcall & assert | Episode 27
27
Lua with Neovim: Type Conversion β€” Automatic Coercion, Safe Defaults & Explicit Casts | Episode 28
28
Lua with Neovim: Metatables β€” __tostring, __add, __eq, __index & Custom Table Behavior | Episode 29
29
Lua with Neowin: OOP with Metatables β€” __index, :new(), Colon Syntax & Inheritance | Episode 30
30
Lua for Neovim: The Neovim Lua API β€” vim.api, vim.opt, vim.keymap.set & Autocommands | Episode 31
31
Lua with Neovim: Writing a Neovim Plugin β€” Plugin Structure, Setup Pattern & Custom Commands | Ep 32