From ee75fdd60359b4e99630e7d101251186bce5ab0f Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Wed, 29 Feb 2012 23:15:45 -0800 Subject: [PATCH] fix for cherry-pick from #24 --- ftplugin/python/ipy.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ftplugin/python/ipy.vim b/ftplugin/python/ipy.vim index 592e223..a013e5b 100644 --- a/ftplugin/python/ipy.vim +++ b/ftplugin/python/ipy.vim @@ -196,10 +196,8 @@ def get_doc_buffer(level=0): #vim.command('pcl') #vim.command('pedit doc') #vim.command('normal ') # go to previous window - # "rest" is the syntax of python documentation. Stock vim doesn't have - # a syntax file for rest, but if the user has installed one then this will - # cause the docs to be colorized. - vim.command('setlocal syntax=rest') + # use the ReST formatting that ships with stock vim + vim.command('setlocal syntax=rst') def update_subchannel_msgs(debug=False): msgs = km.sub_channel.get_msgs()