Manually trigger autocomplete even when prefix is ""

This commit is contained in:
Jerko Steiner
2019-01-07 23:23:33 +01:00
parent 0fcd5e79a9
commit 9bcf8a2336
2 changed files with 8 additions and 4 deletions

View File

@@ -16,6 +16,9 @@ Execute(Prefix filtering should work for Lists of strings):
AssertEqual
\ ['FooBar', 'FongBar', 'baz', 'foo'],
\ ale#completion#Filter(bufnr(''), '', ['FooBar', 'FongBar', 'baz', 'foo'], '.')
AssertEqual
\ ['FooBar', 'FongBar', 'baz', 'foo'],
\ ale#completion#Filter(bufnr(''), '', ['FooBar', 'FongBar', 'baz', 'foo'], '')
Execute(Prefix filtering should work for completion items):
AssertEqual