diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-04-04 08:22:35 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-04-04 08:22:35 +0900 |
commit | 85aa9e2dd6bcf783c222e8248197a926279634b2 (patch) | |
tree | 432badefbed42d6d0fa1f118115132b52008da45 | |
parent | 7a70f27f9ef976fc2ff365c3f7aa4567b5ea426a (diff) | |
download | deoplete.nvim-85aa9e2dd6bcf783c222e8248197a926279634b2.zip |
Improve lua pattern
-rw-r--r-- | rplugin/python3/deoplete/source/omni.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/source/omni.py b/rplugin/python3/deoplete/source/omni.py index bd762d1..a487442 100644 --- a/rplugin/python3/deoplete/source/omni.py +++ b/rplugin/python3/deoplete/source/omni.py @@ -27,7 +27,7 @@ class Source(Base): set_pattern(self._input_patterns, 'css,less,scss,sass', [r'\w+', r'\w+[):;]?\s+\w*', r'[@!]']) set_pattern(self._input_patterns, 'lua', - [r'\w+[.:]', r'require\s*\(?["'']\w*']) + [r'\w+[.:]\w*', r'require\s*\(?["'']\w*']) def get_complete_position(self, context): current_ft = self.vim.eval('&filetype') |