tabby/clients/vim/autoload
abk16 bc37060331
fix(vim): fix agent exit wrong type bug (#2069)
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.
2024-05-07 20:11:14 +08:00
..
tabby fix(vim): fix agent exit wrong type bug (#2069) 2024-05-07 20:11:14 +08:00
tabby.vim feat(clients): add event type dismiss. add view_id in events. (#1315) 2024-01-29 10:54:12 +08:00