Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

make python part on vimrc optional

  • Loading branch information...
commit a4bb36893ef3ba8202fa35ba44e570c254a010a2 1 parent 5dae80f
Jay P jaybperry authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 vimrc
5 vimrc
@@ -404,8 +404,8 @@ cmap w!! w !sudo tee % > /dev/null
404 404 set path=$PWD/**
405 405
406 406 "command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis | wincmd p | diffthis
407   -
408   -python << EOF
  407 +if has('python')
  408 + python << EOF
409 409 import os
410 410 import sys
411 411 import vim
@@ -413,3 +413,4 @@ for p in sys.path:
413 413 if os.path.isdir(p):
414 414 vim.command(r"set path+=%s" % (p.replace(" ", r"\ ")))
415 415 EOF
  416 +endif

0 comments on commit a4bb368

Please sign in to comment.
Something went wrong with that request. Please try again.