Added support for harper in markdown files (#5104)
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
+29
View File
@@ -14,6 +14,35 @@ dprint *ale-markdown-dprint*
See |ale-dprint-options| and https://dprint.dev/plugins/markdown
===============================================================================
harper *ale-markdown-harper*
*ale-options.markdown_harper_config*
*g:ale_markdown_harper_config*
*b:ale_markdown_harper_config*
markdown_harper_config
g:ale_markdown_harper_config
Type: |Dictionary|
Default: `{'harper-ls': {'diagnosticSeverity': 'hint', 'dialect': 'American', ...}}`
Dictionary passed to harper-ls as LSP workspace configuration. The default
enables spell check, sentence capitalization, repeated words, long
sentences, a/an errors, and spacing rules, and disables spelled-out numbers
and wrong-quote checks.
Example: >
let g:ale_markdown_harper_config = {
\ 'harper-ls': {
\ 'diagnosticSeverity': 'warning',
\ 'linters': {
\ 'SpellCheck': v:true,
\ 'LongSentences': v:false,
\ },
\ },
\}
<
===============================================================================
markdownlint *ale-markdown-markdownlint*
@@ -404,6 +404,7 @@ Notes:
* Markdown
* `alex`
* `cspell`
* `harper`
* `languagetool`!!
* `markdownlint`!!
* `marksman`
+1
View File
@@ -3738,6 +3738,7 @@ documented in additional help files.
markdown................................|ale-markdown-options|
cspell................................|ale-markdown-cspell|
dprint................................|ale-markdown-dprint|
harper................................|ale-markdown-harper|
markdownlint..........................|ale-markdown-markdownlint|
marksman..............................|ale-markdown-marksman|
mdl...................................|ale-markdown-mdl|