diff --git a/.config/nvim/lua/plugins/coding.lua b/.config/nvim/lua/plugins/coding.lua index cbb16b9..5cd22ca 100644 --- a/.config/nvim/lua/plugins/coding.lua +++ b/.config/nvim/lua/plugins/coding.lua @@ -3,6 +3,7 @@ local cmp = require("cmp") return { { "L3MON4D3/LuaSnip", + keys = { { "" } }, opts = { store_selection_keys = "", }, diff --git a/.config/nvim/lua/snippets/helpers.lua b/.config/nvim/lua/snippets/helpers.lua index 951fd61..03ca79f 100644 --- a/.config/nvim/lua/snippets/helpers.lua +++ b/.config/nvim/lua/snippets/helpers.lua @@ -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