Allow to configure haskell-language-server LSP config (#4038)

This commit is contained in:
Tomáš Janoušek
2022-02-02 01:28:52 +00:00
committed by GitHub
parent 5087246c82
commit da1e4dcd1e
3 changed files with 21 additions and 0 deletions

View File

@@ -142,6 +142,20 @@ g:ale_haskell_hls_executable *g:ale_haskell_hls_executable*
language server.
g:ale_haskell_hls_config *g:ale_haskell_hls_config*
*b:ale_haskell_hls_config*
Type: |Dictionary|
Default: `{}`
Dictionary with configuration settings for HLS. For example, to see more
completions:
>
let g:ale_haskell_hls_config = {'haskell': {'maxCompletions': 250}}
<
Refer to HLS documentation for possible settings:
https://haskell-language-server.readthedocs.io/en/latest/configuration.html#language-specific-server-options
===============================================================================
stack-build *ale-haskell-stack-build*