mirror of
https://github.com/dense-analysis/ale.git
synced 2026-04-14 11:49:38 +08:00
Added support for harper in markdown files (#5104)
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
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
This commit is contained in:
14
test/linter/test_markdown_harper.vader
Normal file
14
test/linter/test_markdown_harper.vader
Normal file
@@ -0,0 +1,14 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('markdown', 'harper')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default command should be correct):
|
||||
AssertLinter 'harper-ls', ale#Escape('harper-ls') . ' --stdio'
|
||||
|
||||
Execute(Should accept configuration settings):
|
||||
AssertLSPConfig g:ale_markdown_harper_config
|
||||
|
||||
let b:ale_markdown_harper_config = {'harper-ls': {'diagnosticSeverity': 'warning'}}
|
||||
AssertLSPConfig {'harper-ls': {'diagnosticSeverity': 'warning'}}
|
||||
Reference in New Issue
Block a user