Files
ale/test/linter/test_djlint.vader
Vivian De Smedt 3611c32d60
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-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
Add support for the [djlinter](https://www.djlint.com/) (#4909)
* Add support for the [djlinter](https://www.djlint.com/)

* Add documentation and tests.

* Fix the name of the variable for the executable name.

* Correct the name of the handler in the test.

* Correct the test adding the value of vcol.

* Format djlint.vim according to formatting rules.
2025-03-08 16:45:17 +09:00

15 lines
424 B
Plaintext

Before:
call ale#assert#SetUpLinterTest('html', 'djlint')
After:
call ale#assert#TearDownLinterTest()
Execute(The default djlint command should be correct):
AssertLinter 'djlint', ale#Escape('djlint') . ' %s'
Execute(The executable should be configurable):
let g:ale_html_djlint_executable = 'foo bar'
let g:ale_html_djlint_options = '--option'
AssertLinter 'foo bar', ale#Escape('foo bar') . ' --option %s'