remark-lint without saving to disk

This commit is contained in:
Takashi WADA authored and WADA Takashi committed 2018-07-16 18:33:22 +09:00
1 parent f369aa65a2
commit dbf051e62b
3 files changed
+7 -8

No files matched your search

+1 -2
View File
@@ -16,7 +16,7 @@ function! ale_linters#markdown#remark_lint#GetCommand(buffer) abort
return ale#node#Executable(a:buffer, l:executable)
\ . (!empty(l:options) ? ' ' . l:options : '')
\ . ' --no-stdout --no-color %s'
\ . ' --no-stdout --no-color'
endfunction
function! ale_linters#markdown#remark_lint#Handle(buffer, lines) abort
@@ -47,6 +47,5 @@ call ale#linter#Define('markdown', {
\ 'executable_callback': 'ale_linters#markdown#remark_lint#GetExecutable',
\ 'command_callback': 'ale_linters#markdown#remark_lint#GetCommand',
\ 'callback': 'ale_linters#markdown#remark_lint#Handle',
\ 'lint_file': 1,
\ 'output_stream': 'stderr',
\})