Fix broken TypoScript vim lint integration
This commit is contained in:
parent
e885388d4f
commit
b6a7813085
|
@ -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'
|
||||
\ ])},
|
||||
|
|
Loading…
Reference in a new issue