aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/tohtml.lua
diff options
context:
space:
mode:
authorhykerr <hykerr@proton.me>2024-11-12 12:26:07 +0100
committerLewis Russell <me@lewisr.dev>2024-11-12 16:10:43 +0000
commit86b737649bb8c51649a21033c0e365f53f2bc04a (patch)
treebe590596166173fcc8dc176f931b63a13a292762 /runtime/lua/tohtml.lua
parent9aab98a275cb6140540eecbe643a7943d700b58d (diff)
downloadrneovim-86b737649bb8c51649a21033c0e365f53f2bc04a.tar.gz
rneovim-86b737649bb8c51649a21033c0e365f53f2bc04a.tar.bz2
rneovim-86b737649bb8c51649a21033c0e365f53f2bc04a.zip
fix(treesitter): add 'QuitPre' event to autocommands in inspect_tree
Problem: Quitting source buffer for ```:InspectTree``` command raises ```E855``` when source buffer and tree views are the only open buffers. Solution: Add ```QuitPre``` event to autocmd handling closing/hiding the source buffer to close all open tree views. This allows nvim to quit when source and tree buffers are the only open windows.
Diffstat (limited to 'runtime/lua/tohtml.lua')
0 files changed, 0 insertions, 0 deletions