You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
466 B

" Thanks: Randy Morris <randy.morris@archlinux.us>
setlocal shiftwidth=4
setlocal completefunc=pythoncomplete#Complete
let python_fold = 1
let python_highlight_all = 1
let python_highlight_exceptions = 1
let python_highlight_space_errors = 1
let python_highlight_builtins = 1
" Enable jumping to imports with gf
python << EOF
import os
import sys
import vim
for p in sys.path:
if os.path.isdir(p):
vim.command(r"set path+=%s" % (p.replace(" ", r"\ ")))
EOF