我想(G)Vim在每個縮進的第4個空間上繪製管道符號|以顯示類似於垂直縮進線的內容。 我發現這個插件:http://vim.sourceforge.net/scripts/script.php?script_id=628, 但它只適用於製表符,我使用空格而不是製表符。 我.vimrc包含: set ts=4
set sw=4
set expandtab
set softtabstop=4
def getText(nodelist):
"""Extracts the text between XML tags
I took this directly from http://docs.python.org/library/xml.dom.minidom.html.
For example, if I have a tag <Tag>525</Tag>