Understanding how ALE, Coc and rustacean vim interact #4953
-
|
First of all, thanks for this amazing plugin. I use it daily and it massively improves my workflow. My intended setup, for Rust, is the following:
It's my understanding, that each of these plugins spins up their own rust-analyzer binary. I was trying to make my configuration only use one instance of rust-analyzer, so I went ahead and set I want to understand what's the implication of that setting, when rust-analyzer is already started by the other two plugins (or one of them). I see that Also, is there a way to instruct ALE to user the already started rust-analyzer? Thanks in advance! P.S.: Here's my config: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
If you check ALE help ALE comes with lots of pre-configured linters, fixers and LSPs with some sane defaults that work out of the box as long as you have the specific linter, fixer, LSP binary in your PATH. To see full list check Take some time to read about the LSP support If you want to use Coc for autocompletion and ALE for LSP features such as ALEGoToDefinition then you can leave ALE's LSP feature enabled and disable only the autocompletion with |
Beta Was this translation helpful? Give feedback.
If you check ALE help
:h aleyou can see the main features ALE provides:ALE comes with lots of pre-configured linters, fixers and LSPs with some sane defaults that work out of the box as long as you have the specific linter, fixer, LSP binary in your PATH. To see full list check
:h ale-supported-list.Take some time to read about the LSP support
:h ale-lspand you will learn that Completion, Go To Definition, Go To Type, e…