mirror of
https://github.com/neovim/neovim.git
synced 2026-01-08 20:38:54 +10:00
Problem: `vim.treesitter._create_parser()` silently loads the buffer,
bypassing the swapfile prompt.
Solution: Error for an unloaded buffer, ensure buffer is loaded in
`vim.treesitter.start()` instead.