Files
neovim/runtime
Chinmay Dalal fa0a25dcb3 fix(lsp): error in reset_timer on second detach #24117
Problem:
On running `zig fmt` manually, the on_lines callback and the
server both detach (for some reason), and both of them call
`clear()`. This fixes it, otherwise the second one to detach
has an error in `reset_timer` since the bufstate doesn't exist

Solution:
* exit early in clear if `bufstates[bufnr]` is nil
* set bufstatte.enabled to true on reload instead of making bufstate nil
2023-06-23 16:33:15 -07:00
..
2023-04-23 15:22:55 +02:00
2022-12-08 16:33:38 +01:00
2023-06-11 12:40:22 +01:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2023-05-15 09:38:32 +02:00
2023-06-11 12:40:22 +01:00
2022-08-20 10:04:55 +02:00
2021-04-27 09:21:32 -04:00
2023-05-15 09:38:32 +02:00
2023-04-13 12:15:30 +02:00
2023-04-07 13:26:29 +02:00
2022-10-17 08:19:48 +02:00