From e76d7d6ba5ce17ef186623d13b74fc7c24e2d838 Mon Sep 17 00:00:00 2001 From: Tyler Miller Date: Sun, 28 Jul 2024 17:49:10 -0700 Subject: [PATCH] fix: incorrect `CompletionItemKind` for postfix snippets --- script/core/completion/postfix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/core/completion/postfix.lua b/script/core/completion/postfix.lua index b5f333153..46c24b8e7 100644 --- a/script/core/completion/postfix.lua +++ b/script/core/completion/postfix.lua @@ -353,7 +353,7 @@ local function checkPostFix(state, word, wordPosition, position, symbol, results end):gsub('%$%{?%d+%}?', '') results[#results+1] = { label = action.key, - kind = define.CompletionItemKind.Event, + kind = define.CompletionItemKind.Snippet, description = markdown() : add('lua', descText) : string(),