neovim: update go iferr snippet to trigger on end of the line

This commit is contained in:
2026-03-15 22:38:19 +03:00
parent e55b6991e4
commit d0eb0f2243

View File

@@ -10,6 +10,11 @@ return {
} }
]], ]],
{ i(0) } { i(0) }
) ),
{
condition = function(line_to_cursor)
return #line_to_cursor == vim.api.nvim_get_current_line():len()
end,
}
), ),
} }