summaryrefslogtreecommitdiff
path: root/rplugin/python3/deoplete
diff options
context:
space:
mode:
authorMarios S <eimaiosatanas@gmail.com>2022-07-04 22:00:29 +0900
committerGitHub <noreply@github.com>2022-07-04 22:00:29 +0900
commita918f8c7bc7faa8b035fecf23aa35d395d0636c4 (patch)
tree8c7ab35ce96f15a77474e4fac94384fe3a260bd8 /rplugin/python3/deoplete
parentd6f3d4976d21e516193da5907db3f06e56d3e5c8 (diff)
downloadale-a918f8c7bc7faa8b035fecf23aa35d395d0636c4.zip
Improve struct and pointer autocompletion in C (#4231)
* Add explicit trigger characters for C (#4226) * Stop completion before issuing subsequent requests (#4226) Co-authored-by: Marios Sioutis <26476573+s-marios@users.noreply.github.com>
Diffstat (limited to 'rplugin/python3/deoplete')
-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 82d9bbf2..a692dc31 100644
--- a/rplugin/python3/deoplete/sources/ale.py
+++ b/rplugin/python3/deoplete/sources/ale.py
@@ -32,6 +32,7 @@ class Source(Base):
'rust': r'(\.|::)\w*$',
'typescript': r'(\.|\'|")\w*$',
'cpp': r'(\.|::|->)\w*$',
+ 'c': r'(\.|->)\w*$',
}
# Returns an integer for the start position, as with omnifunc.