X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/ale_linters/nunjucks/djlint.vim diff --git a/.vim/bundle/ale/ale_linters/nunjucks/djlint.vim b/.vim/bundle/ale/ale_linters/nunjucks/djlint.vim new file mode 100644 index 00000000..f71eac6e --- /dev/null +++ b/.vim/bundle/ale/ale_linters/nunjucks/djlint.vim @@ -0,0 +1,12 @@ +" Author: Adrian Vollmer +" Description: djlint for Django HTML template files + +call ale#Set('html_djlint_executable', 'djlint') +call ale#Set('html_djlint_options', '') + +call ale#linter#Define('nunjucks', { +\ 'name': 'djlint', +\ 'executable': function('ale#handlers#djlint#GetExecutable'), +\ 'command': function('ale#handlers#djlint#GetCommand'), +\ 'callback': 'ale#handlers#djlint#Handle', +\})