lspserver.completeItemsIsIncomplete = cItems.isIncomplete
endif
+ var ultisniplist = UltiSnips#SnippetsInCurrentScope()
+
+ for [key, info] in items(ultisniplist)
+ echom key
+ items->add({
+ label: key,
+ data: {
+ entryNames: [key],
+ },
+ kind: 15,
+ info: info,
+ })
+ endfor
+
# Get the keyword prefix before the current cursor column.
var chcol = charcol('.')
var starttext = chcol == 1 ? '' : getline('.')[ : chcol - 2]
endif
endif
+ if item->has_key('info')
+ d.menu = item.info
+ endif
+
d.user_data = item
completeItems->add(d)
endfor