mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
fix lsp config reload (#9415)
`syn_loader` was replaced rather than interior value being replace, old value was still being referenced and not updated after `:config-refresh`. By using `ArcSwap` like for `config`, each `.load()` call will return the most updated value. Co-authored-by: kyfan <kyfan@email>
This commit is contained in:
parent
7934ac7714
commit
fe869e5dc7
13 changed files with 89 additions and 41 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1316,6 +1316,7 @@ name = "helix-lsp"
|
|||
version = "23.10.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"arc-swap",
|
||||
"futures-executor",
|
||||
"futures-util",
|
||||
"globset",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue