fix option pymarkdown linter (#5060)

This commit is contained in:
FouMalade
2025-11-22 13:12:51 +01:00
committed by GitHub
parent e56b55b65d
commit 1f0f9ef28d

View File

@@ -45,6 +45,12 @@ Execute(Poetry is detected when markdown_pymarkdown_auto_poetry is set):
AssertLinter 'poetry',
\ ale#Escape('poetry') . ' run pymarkdown scan-stdin'
Execute(Setting executable to 'uv' appends 'run pymarkdown'):
let g:ale_markdown_pymarkdown_executable = 'path/to/uv'
AssertLinter 'path/to/uv',
\ ale#Escape('path/to/uv') . ' run pymarkdown scan-stdin'
Execute(uv is detected when markdown_pymarkdown_auto_uv is set):
let g:ale_markdown_pymarkdown_auto_uv = 1
call ale#test#SetFilename('../test-files/python/uv/whatever.py')