diff options
author | Grégoire Paris <postmaster@greg0ire.fr> | 2019-07-25 23:01:53 +0200 |
---|---|---|
committer | Grégoire Paris <postmaster@greg0ire.fr> | 2019-10-07 23:15:01 +0200 |
commit | 95b8689835d4d9efca8a513599bcd3d83542c6bd (patch) | |
tree | 61dc7981626f9d1c96ce87583c30c97dd04b292c /test/command_callback/test_psalm_command_callbacks.vader | |
parent | f9322113095ac01c00d4c38da6aca715663e35cf (diff) | |
download | ale-95b8689835d4d9efca8a513599bcd3d83542c6bd.zip |
Add the possiblity to add extra psalm options
Diffstat (limited to 'test/command_callback/test_psalm_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_psalm_command_callbacks.vader | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command_callback/test_psalm_command_callbacks.vader b/test/command_callback/test_psalm_command_callbacks.vader index 74c68d43..70b5af95 100644 --- a/test/command_callback/test_psalm_command_callbacks.vader +++ b/test/command_callback/test_psalm_command_callbacks.vader @@ -22,6 +22,14 @@ Execute(Vendor executables should be detected): \ . '/psalm-project/vendor/bin/psalm' \ )) . ' --language-server' +Execute(User provided options should be used): + let g:ale_psalm_langserver_options = '--my-user-provided-option my-value' + + AssertLinter 'psalm', + \ ale#Escape('psalm') + \ . ' --language-server --my-user-provided-option my-value' + + Execute(The project path should be correct for .git directories): call ale#test#SetFilename('psalm-project/test.php') |