mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-16 21:45:07 +08:00
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
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,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*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user