Fix #208 - Use the file on disk for pylint, and follow import paths

This commit is contained in:
w0rp
2017-05-06 19:30:41 +01:00
parent 2e1c9b0fa5
commit f2c9fc403a
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ Before:
runtime ale_linters/python/pylint.vim
silent! execute 'cd /testplugin/test/command_callback'
let g:dir = getcwd()
let b:command_tail = ' --output-format text --msg-template="{path}:{line}:{column}: {msg_id} ({symbol}) {msg}" --reports n %t'
let b:command_tail = ' --output-format text --msg-template="{path}:{line}:{column}: {msg_id} ({symbol}) {msg}" --reports n %s'
After:
silent execute 'cd ' . fnameescape(g:dir)