From f1ec541097a55db4ba4c9de222df02c81113b6f8 Mon Sep 17 00:00:00 2001 From: Chen Mulong Date: Thu, 28 Mar 2019 10:52:24 +0800 Subject: [PATCH] Fix input_pattern Accidentally match blank lines --- rplugin/python3/deoplete/sources/comrade_complete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rplugin/python3/deoplete/sources/comrade_complete.py b/rplugin/python3/deoplete/sources/comrade_complete.py index 462e543..d7e4639 100644 --- a/rplugin/python3/deoplete/sources/comrade_complete.py +++ b/rplugin/python3/deoplete/sources/comrade_complete.py @@ -21,7 +21,7 @@ def __init__(self, vim): self.input_pattern = (r'(\.)\w*|' r'(:)\w*|' r'(::)\w*|' - r'(->)\w*|') + r'(->)\w*') self.is_debug_enabled = True def gather_candidates(self, context):