summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-01-04 12:57:40 +0000
committerGitHub <noreply@github.com>2017-01-04 12:57:40 +0000
commitc9b58136bf018b962a647a0c5faeee68323d019f (patch)
treea9d2d001f9c7e15b2a45f200e739f84e7d2c88a8 /ale_linters
parent871c09c1232d684c0b987812d88684c5fdfb4486 (diff)
parente0928d099116e27f0203b0a365506bfecbe1a6e3 (diff)
downloadale-c9b58136bf018b962a647a0c5faeee68323d019f.zip
Merge pull request #236 from Chronial/patch-1
Pass file name to flake8
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/python/flake8.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim
index 5b011548..cf9de6d3 100644
--- a/ale_linters/python/flake8.vim
+++ b/ale_linters/python/flake8.vim
@@ -13,7 +13,7 @@ endfunction
function! ale_linters#python#flake8#GetCommand(buffer) abort
return ale_linters#python#flake8#GetExecutable(a:buffer)
- \ . ' ' . g:ale_python_flake8_args . ' -'
+ \ . ' ' . g:ale_python_flake8_args . '--stdin-display-name %s -'
endfunction
call ale#linter#Define('python', {