🐛 fix(nvim): Fix dc snippet
This commit is contained in:
parent
97030b53e9
commit
bf6d6349fb
2 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ local cmp = require("cmp")
|
|||
return {
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
keys = { { "<Tab>" } },
|
||||
opts = {
|
||||
store_selection_keys = "<Tab>",
|
||||
},
|
||||
|
|
|
@ -9,7 +9,9 @@ M.fill = function(_, parent, args)
|
|||
local chars = {}
|
||||
|
||||
if #parent.snippet.env.LS_SELECT_RAW > 0 then
|
||||
title = print(parent.snippet.env.LS_SELECT_RAW) .. " "
|
||||
for _, ele in ipairs(parent.snippet.env.LS_SELECT_RAW) do
|
||||
title = title .. ele .. " "
|
||||
end
|
||||
end
|
||||
|
||||
for str in string.gmatch(args, "([^%%]+)") do
|
||||
|
|
Loading…
Reference in a new issue