aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin/python.vim
blob: a5c454ab75e46f580447428d0d5c863d4139feb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
python3 << EOF
import os
import sys
import vim
for p in sys.path:
    # Add each directory in sys.path, if it exists.
    if os.path.isdir(p):
        # Command 'set' needs backslash before each space.
        vim.command(r"set path+=%s" % (p.replace(" ", r"\ ")))
EOF

hi link pythonDecoratorName pythonDecorator
..