aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_defaults.lua
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2025-02-15 01:53:41 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-02-19 19:11:55 +0100
commita0b52e7cb3d211e30c21464c4a4f4acecd6418c9 (patch)
tree95b73831fde6183b55520d84a165ba36544216aa /runtime/lua/vim/_defaults.lua
parenta422f3393e93ae19d679520f43f38bd1c53ddf06 (diff)
downloadrneovim-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 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions