
2025-07-11 06:53:00
The new :ToHTML in #neovim is amazing. It seems to be generating the same colours including the treesitter highlights.
https://neovim.io/doc/user/lua.html#%3ATOhtml
The new :ToHTML in #neovim is amazing. It seems to be generating the same colours including the treesitter highlights.
https://neovim.io/doc/user/lua.html#%3ATOhtml
@… I knew I’d seen it recently!
Yes please, almost anything that Lua would do is something I would actively avoid doing.
@… @…
Integer division makes more sense in a statically typed language like C, but is uncommon in scripting languages. (Lua, JavaScript, Python all do float division.)
I found that a good exercise to get a deep understanding/ refreshing of datastructures is to implement them using Lua tables
#Lua #programming #DataStructures
"Instead of using regex, the Lua string library has a special set of characters..."
🫤
@… Well, sounds like you’re doing something far more extravagant, but in case it helps: https://codeberg.org/ooble/fyg…
Advanced LPeg techniques: A dual case study approach
Zixuan Zhu
https://arxiv.org/abs/2507.01272 https://arxiv.org/pdf/2507.01272
🇺🇦 #NowPlaying on BBCRadio3's #NightTracks
Chiquinha Gonzaga, Esther Abrami, Kim Barbier & Esther Abrami:
🎵 Lua Branca
#ChiquinhaGonzaga #EstherAbrami #KimBarbier
Being rather frustrated with programming Clojure in IntelliJ, (mainly because Cursive and IdeaVim don't like each other) I tried to set up Neovim with the Conjure plugin and it 's an absolute blast to use the REPL with it.
Also I discovered that there is a Lisp on top of Lua called Fennel, which I'm looking forward to play with
#Programming
Could a Primordial Black Hole Explosion Explain the KM3NeT Event?
Lua F. T. Airoldi, Gustavo F. S. Alves, Yuber F. Perez-Gonzalez, Gabriel M. Salla, Renata Zukanovich Funchal
https://arxiv.org/abs/2505.24666
Chasing Serendipity: Tackling Transient Sources with Neutrino Telescopes
Lua F. T. Airoldi, Gustavo F. S. Alves, Yuber F. Perez-Gonzalez, Gabriel M. Salla, Renata Zukanovich Funchal
https://arxiv.org/abs/2505.24652
@… Best of luck!
I checked my history and it seems I started out by symlinking the neovim config file to ~/.vimrc, and aliasing `nvim` to `vim`, with no other changes.
This was 8–9 years ago, apparently, so hopefully that still works.
I did eventually rewrite my config in Lua but only after plodding along fine for several years.
tl,dr: imho beginners should start with with either Go or Lua
Friends hit me with the age old question for their child which wants to learn programming: which language should one start with?
This had me thinking quite a bit. First thing that came to my mind was #Kotlin, my favourite, but I wouldn't recommend it for beginners, because it is quite heavy in high level concepts. …