Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Save A Neovim File Buffer With Lua

I've got a Lua process that makes updates to note files that I want saved as soon as it's done. I haven't a found much out there that answers how to do that. After a little experimentaiton I starte using :

lua
vim.cmd("w")

Bascially just punting out to the vim command.

Seems weird, but it's working.