Skip to content

Commit

Permalink
set syntax for doc window
Browse files Browse the repository at this point in the history
  • Loading branch information
dstahlke authored and ivanov committed Mar 1, 2012
1 parent 63d6b72 commit 799d143
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ftplugin/python/ipy.vim
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ 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')

def update_subchannel_msgs(debug=False):
msgs = km.sub_channel.get_msgs()
Expand Down

0 comments on commit 799d143

Please sign in to comment.