diff options
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/handlers/textlint.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/autoload/ale/handlers/textlint.vim b/autoload/ale/handlers/textlint.vim index c06daa01..4e56e127 100644 --- a/autoload/ale/handlers/textlint.vim +++ b/autoload/ale/handlers/textlint.vim @@ -14,13 +14,11 @@ endfunction function! ale#handlers#textlint#GetCommand(buffer) abort let l:executable = ale#handlers#textlint#GetExecutable(a:buffer) - let l:config = ale#path#FindNearestFile(a:buffer, '.textlintrc') let l:options = ale#Var(a:buffer, 'textlint_options') return ale#node#Executable(a:buffer, l:executable) \ . (!empty(l:options) ? ' ' . l:options : '') - \ . (!empty(l:config) ? ' -c ' . ale#Escape(l:config) : '') - \ . ' -f json %t' + \ . ' -f json --stdin --stdin-filename %s' endfunction function! ale#handlers#textlint#HandleTextlintOutput(buffer, lines) abort |