summaryrefslogtreecommitdiff
path: root/rplugin/python3/deoplete/sources
diff options
context:
space:
mode:
authordelphinus <me@delphinus.dev>2019-07-14 22:20:44 +0900
committerdelphinus <me@delphinus.dev>2019-07-14 22:20:44 +0900
commit240bb8abae904cfa71dcaa50038f3bb8fa188ee3 (patch)
tree80d3be494e123db0355021dff46981444efcd0ed /rplugin/python3/deoplete/sources
parent36a50111b91d05afc4ed92a5b5415d0c5527dc6b (diff)
downloadale-240bb8abae904cfa71dcaa50038f3bb8fa188ee3.zip
Add Deoplete's input_patterns for cpp
Diffstat (limited to 'rplugin/python3/deoplete/sources')
-rw-r--r--rplugin/python3/deoplete/sources/ale.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rplugin/python3/deoplete/sources/ale.py b/rplugin/python3/deoplete/sources/ale.py
index 66a09551..3955ed2d 100644
--- a/rplugin/python3/deoplete/sources/ale.py
+++ b/rplugin/python3/deoplete/sources/ale.py
@@ -30,6 +30,7 @@ class Source(Base):
'_': r'\.\w*$',
'rust': r'(\.|::)\w*$',
'typescript': r'(\.|\'|")\w*$',
+ 'cpp': r'(\.|::|->)\w*$',
}
# Returns an integer for the start position, as with omnifunc.