Skip to content

Commit

Permalink
Improve input_pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Dec 5, 2018
1 parent becc834 commit c483788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/deoplete/source/lsp.py
Expand Up @@ -43,7 +43,7 @@ def __init__(self, vim):
self.name = 'lsp'
self.mark = '[lsp]'
self.rank = 500
self.input_pattern = r'\.[a-zA-Z0-9_?!]*|[a-zA-Z]\w*::\w*|->\w*'
self.input_pattern = r'[^\w\s]$'
self.vars = {}
self.vim.vars['deoplete#source#lsp#_results'] = []
self.vim.vars['deoplete#source#lsp#_success'] = False
Expand Down

0 comments on commit c483788

Please sign in to comment.