diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-23 09:41:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 09:41:02 +0900 |
commit | 5200e6c73460232de7c8ea7659cea2429e02e2a0 (patch) | |
tree | 1f12546e7cb3bb50c9d9d4141de7591b339dcca9 /test | |
parent | 33f2f8ddcd9d934c6eef0dc3bf6c434d00aaa734 (diff) | |
parent | 1ca780a08ad28a2c8264ec9292e9fbbf96930e06 (diff) | |
download | ale-5200e6c73460232de7c8ea7659cea2429e02e2a0.zip |
Merge pull request #2825 from thindil/master
Added support for Ada Language Server
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_adals_command_callbacks.vader | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/command_callback/test_adals_command_callbacks.vader b/test/command_callback/test_adals_command_callbacks.vader new file mode 100644 index 00000000..5a04594e --- /dev/null +++ b/test/command_callback/test_adals_command_callbacks.vader @@ -0,0 +1,17 @@ +Before: + call ale#assert#SetUpLinterTest('ada', 'adals') + +After: + call ale#assert#TearDownLinterTest() + +Execute(Sets adals executable): + let g:ale_ada_adals_executable = '/path/to /Ada' + AssertLinter '/path/to /Ada', ale#Escape('/path/to /Ada') + +Execute(Sets adals encoding): + let b:ale_ada_adals_encoding = 'iso-8859-1' + AssertLSPConfig {'ada.defaultCharset': 'iso-8859-1', 'ada.projectFile': 'default.gpr'} + +Execute(Sets adals project): + let g:ale_ada_adals_project = 'myproject.gpr' + AssertLSPConfig {'ada.defaultCharset': 'utf-8', 'ada.projectFile': 'myproject.gpr'} |