Hopefully my last Vim TIL for a while: embedded Lua in Vimscript in Neovim wasn’t working. nvim-treesitter + this in ~/.config/nvim/after/queries/vim/injections.scm
works:
; extends
(lua_statement
(script
(body) @injection.content)
(#set! injection.language "lua"))