Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

Commit

Permalink
add rplugin/python3 to sys.path
Browse files Browse the repository at this point in the history
  • Loading branch information
roxma committed Oct 15, 2017
1 parent 6e0c2b9 commit d1f2b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythonx/cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def sync_rtp(nvim):
sync sys.path with vim's rtp option
"""
# setup pythonx
pythonxs = nvim.eval('globpath(&rtp,"pythonx",1)')
pythonxs = nvim.eval(r'globpath(&rtp,"pythonx",1) . "\n" . globpath(&rtp,"rplugin/python3",1)')
for path in pythonxs.split("\n"):
if not path:
continue
Expand Down

0 comments on commit d1f2b54

Please sign in to comment.