1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated vim plugins. Nerd tree is on the right by default

This commit is contained in:
amix
2015-02-13 00:19:27 +00:00
parent a4b4587019
commit 00f043f0de
25 changed files with 386 additions and 109 deletions

View File

@ -29,7 +29,7 @@ def _parse_comments(s):
if len(flags) == 0:
rv.append((text, text, text, ""))
# parse 3-part comment, but ignore those with O flag
elif flags[0] == 's' and 'O' not in flags:
elif 's' in flags and 'O' not in flags:
ctriple = []
indent = ""
@ -47,7 +47,7 @@ def _parse_comments(s):
ctriple.append(indent)
rv.append(ctriple)
elif flags[0] == 'b':
elif 'b' in flags:
if len(text) == 1:
rv.insert(0, (text,text,text, ""))
except StopIteration: