Closed horttanainen closed 3 years ago
g:ale_linters
might be case sensitive?
let g:ale_linters = {
\ 'cs': ['OmniSharp']
\}
Note that OmniSharp does not show up as an available linter in :ALEInfo
(AFAIR) because it is not an external executable for ALE to run, but rather sends diagnostics to ALE directly on request.
g:ale_linters
might be case sensitive?let g:ale_linters = { \ 'cs': ['OmniSharp'] \}
Thanks for the quick reply. I changed that from OmniSharp to omnisharp myself as i noticed OmniSharp to be an alias for omnisharp: https://github.com/OmniSharp/omnisharp-vim/blob/master/ale_linters/cs/omnisharp.vim#L41-L43
It might be that I have understood something wrong. Is omnisharp supposed to provide autocompletion infromation for ALE?
That particular file is only for the HTTP/python version, see the note at the top: https://github.com/OmniSharp/omnisharp-vim/blob/master/ale_linters/cs/omnisharp.vim#L3-L5
It might be that I have understood something wrong. Is omnisharp supposed to provide autocompletion infromation for ALE?
I'm not totally sure what you mean by this. ALE doesn't provide autocompletion, it provides linting support (shows signs next to errors/warnings), and it gets the error/warning info from OmniSharp-vim. If you want autocompletion (suggestions as you type) use an autocompletion plugin like asyncomplete or deoplete etc.
Alrigth, thanks for the info.
ALE does provide autocompletion when configured. From the README:
ALE also offers its own automatic completion support, which does not require any other plugins, and can be enabled by changing a setting before ALE is loaded.
This works for typescript and I was living under the assumption that this was the case for every language with a LSP. I will have to look deeper into this. Thank you.
Huh, that's news to me. But it looks like it only provides automatic completion for LSP executables it is running itself, which is not the case here.
OmniSharp works fine (c+xc+o works) but ALE won't recognize it as an available linter when using the stdio server. ALE recognizes http server but that on the other hand won't work due to python which is always fucked.
I have the latest (as of today 28.12.2020) ALE and Omnisharp-vim versions installed but sadly vim plug will not give that information.
I am on macOS Mojave Version 10.14.6.
ALEInfo output:
My .vimrc:
Here is Omnisharp log output (I intentionally did not use the debug flag as the debug log was too long for this commit):
Do you have any idea what could be causing this issue?