Fix j2lint linter (#5065)

* fix option pymarkdown linter

* fix-j2lint-linter
This commit is contained in:
FouMalade
2025-11-22 13:12:18 +01:00
committed by GitHub
parent 260c756a9b
commit e56b55b65d
3 changed files with 18 additions and 4 deletions

View File

@@ -8,7 +8,10 @@ Execute(The pymarkdown command callback should return default string):
AssertLinter 'pymarkdown', ale#Escape('pymarkdown') . ' scan-stdin'
Execute(The pycodestyle command callback should allow options):
let g:markdown_pymarkdown_options = '--exclude=test*.py'
let g:ale_markdown_pymarkdown_options = '--exclude=test*.py'
AssertLinter 'pymarkdown',
\ ale#Escape('pymarkdown') . ' --exclude=test*.py scan-stdin'
Execute(The pymarkdown executable should be configurable):
let g:ale_markdown_pymarkdown_executable = '~/.local/bin/pymarkdown'