neovim: add default value for bools in iferr snippet

This commit is contained in:
2025-06-11 22:20:44 +03:00
parent a8cca90ba8
commit 9483e5f903

View File

@@ -164,6 +164,7 @@ ls.add_snippets("go", {
["int"] = "0",
["uint"] = "0",
["error"] = "err",
["bool"] = "false",
}
local size = vim.tbl_count(params)