mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 17:41:54 +00:00
bc37060331
In the vim plugin, whenever the tabby-agent exits (unexpectedly) the s:tabby variable is set to `{}` instead of the numeric `0` to indicate that the agent job is not running. This leads to the agent functions trying to send messages anyway and error messages being spammed for almost any editor event, for the wrong variable type and subsequent errors, like: ``` line 8: E731: using Dictionary as a String line 12: E474: Invalid argument ``` and ``` Error detected while processing BufLeave Autocommands for "*"... [...] ``` Setting the s:tabby variable to `0` on agent exit solves it. |
||
---|---|---|
.. | ||
tabby | ||
tabby.vim |