mirror of
https://github.com/dense-analysis/ale.git
synced 2026-04-15 12:17:46 +08:00
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--lua-only) (push) Has been cancelled
CI / test_ale (--neovim-07-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
* pass --stdio flag to expert lsp server expert requires --stdio to use stdio transport but the linter definition launched it without the flag, so the server never entered lsp mode * handle client/registerCapability requests from lsp servers some lsp servers like expert send a client/registerCapability request after initialization to dynamically register capabilities, if ale does not respond the server blocks and never processes further messages like textDocument/didOpen
21 lines
634 B
Plaintext
21 lines
634 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('elixir', 'expert')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(should set correct defaults):
|
|
AssertLinter 'expert', ale#Escape('expert') . ' --stdio'
|
|
|
|
Execute(The executable should be configurable):
|
|
let b:ale_elixir_expert_executable = 'foobar'
|
|
|
|
AssertLinter 'foobar', ale#Escape('foobar') . ' --stdio'
|
|
|
|
Execute(should set correct LSP values):
|
|
call ale#test#SetFilename('../test-files/elixir/umbrella_project/apps/app1/lib/app.ex')
|
|
|
|
AssertLSPLanguage 'elixir'
|
|
AssertLSPOptions {}
|
|
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/elixir/umbrella_project')
|