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>
This commit is contained in:
Marios S
2022-07-04 22:00:29 +09:00
committed by GitHub
parent d6f3d4976d
commit a918f8c7bc
3 changed files with 15 additions and 0 deletions

View File

@@ -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.