Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 41559c4

Browse files
committed
fix: put snippet label in menu
1 parent b8544fa commit 41559c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/source/snippet.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ local getVsnipItems = function(prefix)
6565
local item = {}
6666
item.word = snippet.prefix[1]
6767
item.kind = 'vim-vsnip'
68+
item.menu = snippet.label
6869
item.priority = priority
6970
item.user_data = user_data
7071
match.matching(complete_items, prefix, item)

0 commit comments

Comments
 (0)