mirror of
https://github.com/neovim/neovim.git
synced 2026-02-27 12:51:48 +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.
15 KiB
15 KiB