We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3b9456 commit 184022fCopy full SHA for 184022f
autoload/vimcomplete/omnifunc.vim
@@ -27,7 +27,8 @@ export def Completor(findstart: number, base: string): any
27
elseif findstart == 2
28
return 1
29
endif
30
- var items = Omnifunc(findstart, partial ? base->strpart(prefix->len()) : base)
+ var items: list<dict<any>> =
31
+ Omnifunc(findstart, partial ? base->strpart(prefix->len()) : base)
32
if items->empty()
33
return []
34
@@ -42,7 +43,7 @@ export def Completor(findstart: number, base: string): any
42
43
44
if options.dup
45
# Cannot use extend() because of https://github.com/vim/vim/issues/16607
- # items->map((_, v) => v->extend({ dup: 1 })) #
46
+ # items->map((_, v) => v->extend({ dup: 1 })) #
47
for item in items
48
item['dup'] = 1
49
endfor
0 commit comments