mirror of
https://github.com/amix/vimrc
synced 2025-06-29 11:04:59 +08:00
Updated plugins
This commit is contained in:
@ -14,7 +14,7 @@ def complete(tab, opts):
|
||||
:return: a string that match with tab
|
||||
"""
|
||||
el = [x for x in tab]
|
||||
pat = "".join(list(map(lambda x: x + "\w*" if re.match("\w", x) else x,
|
||||
pat = "".join(list(map(lambda x: x + r"\w*" if re.match(r"\w", x) else x,
|
||||
el)))
|
||||
try:
|
||||
opts = [x for x in opts if re.search(pat, x, re.IGNORECASE)]
|
||||
|
Reference in New Issue
Block a user