Skip to content

Commit ee75fdd

Browse files
committed
fix for cherry-pick from #24
1 parent 799d143 commit ee75fdd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ftplugin/python/ipy.vim

+2-4
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,8 @@ def get_doc_buffer(level=0):
196196
#vim.command('pcl')
197197
#vim.command('pedit doc')
198198
#vim.command('normal ') # go to previous window
199-
# "rest" is the syntax of python documentation. Stock vim doesn't have
200-
# a syntax file for rest, but if the user has installed one then this will
201-
# cause the docs to be colorized.
202-
vim.command('setlocal syntax=rest')
199+
# use the ReST formatting that ships with stock vim
200+
vim.command('setlocal syntax=rst')
203201

204202
def update_subchannel_msgs(debug=False):
205203
msgs = km.sub_channel.get_msgs()

0 commit comments

Comments
 (0)