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

@@ -25,3 +25,8 @@ Execute(The executable should be configurable):
let g:ale_haskell_hls_executable = 'foobar'
AssertLinter 'foobar', ale#Escape('foobar') . ' --lsp'
Execute(Should accept configuration settings):
AssertLSPConfig {}
let b:ale_haskell_hls_config = {'haskell': {'maxCompletions': 250}}
AssertLSPConfig {'haskell': {'maxCompletions': 250}}