Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Commit 26c1541

Browse files
committed
BF: needed import of SyntaxError too
Needed to import SyntaxError from Python module, in order to get displayed line of syntax error correct.
1 parent 78deba6 commit 26c1541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/python/pyflakes.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ for path in (script_dir, flakes_dir):
5353
if path not in sys.path:
5454
sys.path.insert(0, path)
5555

56-
from flaker import check, vim_quote
56+
from flaker import check, vim_quote, SyntaxError
5757
EOF
5858
let b:did_python_init = 1
5959
endif

0 commit comments

Comments
 (0)