diff options
Diffstat (limited to 'rplugin/python3/deoplete/deoplete.py')
-rw-r--r-- | rplugin/python3/deoplete/deoplete.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/deoplete.py b/rplugin/python3/deoplete/deoplete.py index 15da181..d911d4e 100644 --- a/rplugin/python3/deoplete/deoplete.py +++ b/rplugin/python3/deoplete/deoplete.py @@ -327,7 +327,7 @@ class Deoplete(logger.LoggingMixin): context['syntax_name'] in disabled_syntaxes): return 1 if (input_pattern != '' and - re.search(input_pattern + '$', context['input'])): + re.search('(' + input_pattern + ')$', context['input'])): return 0 skip_length = (context['event'] != 'Manual' and not (min_pattern_length <= |