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

This commit is contained in:
Tomáš Janoušek authored and GitHub committed 2022-02-02 10:28:52 +09:00
1 parent 5087246c82
commit da1e4dcd1e
3 files changed
+21

No files matched your search

+5
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}}