dense-analysis / dense-analysis/ale

Implement `ALEStartAllLSPs` for starting all LSP servers early

Open
#2,201 7 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

First of all, thank you for developing great tool!

I have a question.
How to restart lsp?

ALE has 'ALEStopAllLSPs' API, but It does not seem to be that there is not start lsp API.
Sometimes, I want switch lsp each project.
So I want write vimscript like this.

```vim
function! SwitchNightlyRls() abort
if (&ft=='rust')
call ale#lsp#reset#StopAllLSPs()
call ale#Set('rust_rls_toolchain', 'nightly')
call ale#lsp#reset#StartAllLSPs() " I want this API
endif
endfunction
```

Is there way that resolve my problem?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.