From f0167d2958f81ab4139bc4d20f831ef35935c774 Mon Sep 17 00:00:00 2001 From: tek Date: Fri, 7 Sep 2012 13:31:14 +0200 Subject: [PATCH] syn include already searches rtp --- plugin/jedi.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/jedi.vim b/plugin/jedi.vim index b2f43501..2265137b 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -141,8 +141,7 @@ PYTHONEOF " highlight python code within rst unlet! b:current_syntax - let l:pythonpath = fnameescape(globpath(&rtp,"syntax/python.vim")) - exe "syn include @rstPythonScript ".l:pythonpath + syn include @rstPythonScript syntax/python.vim " 4 spaces syn region rstPythonRegion start=/^\v {4}/ end=/\v^( {4}|\n)@!/ contains=@rstPythonScript " >>> python code