We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a83b0 commit d33f094Copy full SHA for d33f094
lua/luasnip-snippets/utils/init.lua
@@ -5,6 +5,7 @@ local M = {}
5
---@param template string
6
---@return string[]
7
function M.replace_all(match, template)
8
+ match = vim.F.if_nil(match, "")
9
---@type string
10
local match_str = ""
11
if type(match) == "table" then
0 commit comments