summaryrefslogtreecommitdiff
path: root/test/linter
diff options
context:
space:
mode:
authorTomáš Janoušek <tomi@nomi.cz>2022-02-02 01:28:52 +0000
committerGitHub <noreply@github.com>2022-02-02 10:28:52 +0900
commitda1e4dcd1e5ebf340b1edbedb18dc2ba139e6e40 (patch)
treed6698ad5355f31d3108c2bb3b157ac5ac6128a72 /test/linter
parent5087246c8223712fa0097098e910951aba8603fb (diff)
downloadale-da1e4dcd1e5ebf340b1edbedb18dc2ba139e6e40.zip
Allow to configure haskell-language-server LSP config (#4038)
Diffstat (limited to 'test/linter')
-rw-r--r--test/linter/test_haskell_hls.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/linter/test_haskell_hls.vader b/test/linter/test_haskell_hls.vader
index e64aab6f..4452d53c 100644
--- a/test/linter/test_haskell_hls.vader
+++ b/test/linter/test_haskell_hls.vader
@@ -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}}