aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-11-11 06:28:55 +0800
committerGitHub <noreply@github.com>2021-11-10 15:28:55 -0700
commit14def4d2271a5bc5e6e6e774d291a9e0fd2477e0 (patch)
treeadac77cf249f964c5129beacfc71574c478c8ec2 /runtime/lua/vim/lsp/buf.lua
parent2ecf0a4c6183bba1c65d440711038f040d355fef (diff)
downloadrneovim-14def4d2271a5bc5e6e6e774d291a9e0fd2477e0.tar.gz
rneovim-14def4d2271a5bc5e6e6e774d291a9e0fd2477e0.tar.bz2
rneovim-14def4d2271a5bc5e6e6e774d291a9e0fd2477e0.zip
fix(terminal): free terminal if close_buffer() closes a closed terminal (#16264)
Use the (currently unused) 'destroy' field of the terminal struct as a flag to indicate that the terminal's destruction is imminent (and therefore it's close callback should not be called again). Co-authored-by: Gregory Anders <greg@gpanders.com>
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions