diff options
| author | Luuk van Baal <luukvbaal@gmail.com> | 2025-02-15 01:53:41 +0100 | 
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-02-19 19:11:55 +0100 | 
| commit | a0b52e7cb3d211e30c21464c4a4f4acecd6418c9 (patch) | |
| tree | 95b73831fde6183b55520d84a165ba36544216aa /test/functional/ui/fold_spec.lua | |
| parent | a422f3393e93ae19d679520f43f38bd1c53ddf06 (diff) | |
| download | rneovim-a0b52e7cb3d211e30c21464c4a4f4acecd6418c9.tar.gz rneovim-a0b52e7cb3d211e30c21464c4a4f4acecd6418c9.tar.bz2 rneovim-a0b52e7cb3d211e30c21464c4a4f4acecd6418c9.zip | |
fix(treesitter)!: enforce buffer is loaded when creating parser
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.
Diffstat (limited to 'test/functional/ui/fold_spec.lua')
0 files changed, 0 insertions, 0 deletions
