Fix broken TypoScript vim lint integration

This commit is contained in:
Daniel Siepmann 2024-02-07 16:54:23 +01:00
parent e885388d4f
commit b6a7813085
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -3,7 +3,7 @@
" PR is open at: https://github.com/dense-analysis/ale/pull/4673
call ale#Set('typoscript_typoscript_lint_executable', 'typoscript-lint')
call ale#Set('typoscript_typoscript_lint_executable_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#Set('typoscript_typoscript_lint_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#typoscript#typoscript_lint#Handle(buffer, lines) abort
let l:output = []
@ -29,7 +29,7 @@ endfunction
call ale#linter#Define('typoscript', {
\ 'name': 'typoscript_lint',
\ 'executable': {b -> ale#path#FindExecutable(b, 'typoscript_typoscript_lint_executable', [
\ 'executable': {b -> ale#path#FindExecutable(b, 'typoscript_typoscript_lint', [
\ 'vendor/bin/typoscript-lint',
\ 'typoscript-lint'
\ ])},