From f75848b32ca25aec1d5e6c0a5aa9c7b1e6c64539 Mon Sep 17 00:00:00 2001 From: James Owen Date: Wed, 31 Oct 2018 10:17:55 +0100 Subject: Pass the filename of the current file into jshint --- ale_linters/javascript/jshint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters') diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index 83909fa4..cb7f66fc 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -18,7 +18,7 @@ function! ale_linters#javascript#jshint#GetCommand(buffer) abort let l:command .= ' --config ' . ale#Escape(l:jshint_config) endif - let l:command .= ' -' + let l:command .= ' --filename %s -' return l:command endfunction -- cgit v1.2.3