Skip to content

Commit f648e95

Browse files
committed
Makefile: checkvim: use own/current vimlparser
Vint tries to import a non-bundled vimlparser first, which we can inject using `PYTHONPATH`. Ref: https://github.com/Kuniwak/vint/blob/219501b58c/vint/_bundles/__init__.py#L3-L8
1 parent 9cc29ee commit f648e95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ check: all
2222
checkpy: all
2323
flake8 py
2424

25+
# Run vint, using py/vimlparser.py.
2526
checkvim: all
26-
vint autoload py/pycompiler.vim
27+
PYTHONPATH=py vint autoload py/pycompiler.vim
2728

2829
vim/test:
2930
test/run.sh

0 commit comments

Comments
 (0)