Skip to content

Commit 3e3cb85

Browse files
committed
bugfix
1 parent f20b37c commit 3e3cb85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/easycomplete/luasnip.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ function M.get_snip_items(typing, plugin_name, ctx)
9090
end
9191

9292
local ls = require("luasnip")
93+
-- TODO: 如果 buffer 中输入了一个 snip,删除后未保存,在原位置
94+
-- 继续输入字符,则会判断为in_snippet,返回空,实则不应该判断
95+
-- 为 in_snippet,需进一步调试
9396
if ls.in_snippet() then
9497
return {}
9598
end

0 commit comments

Comments
 (0)