feat(markdown): add rumdl server and fixer (#5115)
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

* feat: put in the main linter files

* feat: add to registry

* docs: add rumdl to docs

* tests: vader tests

* edit: actually split the options into two

* style: make rumdl fixer test mimic markdownlint

* fix: stupidity overwhelming

* fix: actually let's look for pyproject too

copied from tombi

* i'm a buffoon fix wrong indentation

* alignment ci is made for people like me

* missed toc entry
This commit is contained in:
Evan Chen
2026-04-15 09:04:59 -04:00
committed by GitHub
parent 051d12c72d
commit c59c0d1a57
9 changed files with 150 additions and 0 deletions
@@ -0,0 +1,24 @@
Before:
call ale#assert#SetUpFixerTest('markdown', 'rumdl')
After:
call ale#assert#TearDownFixerTest()
Execute:
AssertFixer {
\ 'command': ale#Escape('rumdl') . ' fmt - --silent',
\}
Execute:
let g:ale_markdown_rumdl_executable = 'rumdl_custom'
AssertFixer {
\ 'command': ale#Escape('rumdl_custom') . ' fmt - --silent',
\}
Execute:
let g:ale_markdown_rumdl_fmt_options = ''
AssertFixer {
\ 'command': ale#Escape('rumdl') . ' fmt -',
\}
+18
View File
@@ -0,0 +1,18 @@
Before:
call ale#assert#SetUpLinterTest('markdown', 'rumdl')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'rumdl', ale#Escape('rumdl') . ' server --stdio'
Execute(The executable should be configurable):
let b:ale_markdown_rumdl_executable = 'rumdl_custom'
AssertLinter 'rumdl_custom', ale#Escape('rumdl_custom') . ' server --stdio'
Execute(The server options should be configurable):
let b:ale_markdown_rumdl_options = '--some-flag'
AssertLinter 'rumdl', ale#Escape('rumdl') . ' server --stdio --some-flag'