summaryrefslogtreecommitdiff
path: root/rplugin
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2017-04-04 08:22:35 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2017-04-04 08:22:35 +0900
commit85aa9e2dd6bcf783c222e8248197a926279634b2 (patch)
tree432badefbed42d6d0fa1f118115132b52008da45 /rplugin
parent7a70f27f9ef976fc2ff365c3f7aa4567b5ea426a (diff)
downloaddeoplete.nvim-85aa9e2dd6bcf783c222e8248197a926279634b2.zip
Improve lua pattern
Diffstat (limited to 'rplugin')
-rw-r--r--rplugin/python3/deoplete/source/omni.py2
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')