Skip to content

Commit 239ebe5

Browse files
Add menu option to cmp completion source.
1 parent 8dc61dc commit 239ebe5

File tree

1 file changed

+3
-0
lines changed
  • lua/orgmode/org/autocompletion

1 file changed

+3
-0
lines changed

lua/orgmode/org/autocompletion/cmp.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ function Source:complete(params, callback)
3333
for _, item in ipairs(results) do
3434
table.insert(items, {
3535
label = item.word,
36+
labelDetails = {
37+
description = item.menu,
38+
},
3639
})
3740
end
3841

0 commit comments

Comments
 (0)