1
0
mirror of https://github.com/amix/vimrc synced 2025-06-29 11:04:59 +08:00

Updated plugins

This commit is contained in:
Amir
2024-01-07 16:14:20 +01:00
parent 86762cf230
commit f676f799e7
172 changed files with 3227 additions and 1204 deletions

View File

@ -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)]