#neovim Development News
The 0.12 version will update `:source` command to work smarter when executed with a range. In non-Lua files (like help files) it will detect Lua codeblocks via treesitter and execute them as Lua.
PR:
- github.com/neovim/neovi...
feat(source): detect Lua codeb...
feat(source): detect Lua codeb...

feat(source): detect Lua codeblocks via treesitter injection by benarcher2691 · Pull Request #36799 · neovim/neovim
Summary When :source is given a range in a file like vimdoc, use treesitter to detect if the selected text is inside a Lua codeblock (injection) If the range is in a Lua injection, execute as Lua ...