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

This commit is contained in:
Armand Halbert
2026-03-28 06:22:26 -05:00
committed by GitHub
parent 0369442b06
commit 3d3b75cdc5
10 changed files with 166 additions and 1 deletions

View 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'}}