]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(termdebug): Fix saved_mousemodel check
authorlaburnumT <laburnumtec@gmail.com>
Sun, 9 Jun 2024 16:38:14 +0000 (18:38 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 9 Jun 2024 16:38:37 +0000 (18:38 +0200)
commit477402ecf99b09087c2517398f05e02f082ef192
tree87c95d6a4bdf5551851f9b347705c6a51156cd58
parentaa925eeb97bd294d4a5253a3194949a37cbc8365
runtime(termdebug): Fix saved_mousemodel check

Fix issue introduced by 23f29ffc64276dd790581f98b86a0a6435b7eb22 where
saved_mousemodel is introduced as a variable, so the exists check will
always be true.

Move to check the value of saved_mousemodel instead.

closes: #14946

Signed-off-by: laburnumT <laburnumtec@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim