docs(iferr): update

This commit is contained in:
Oleksandr Smirnov 2025-02-25 13:52:41 +02:00
parent ad647b736e
commit 3f4df2bff0
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
---@toc_entry Iferr ---@toc_entry Iferr
---@tag gopher.nvim-iferr ---@tag gopher.nvim-iferr
---@text if you're using `iferr` tool, this module provides a way to automatically insert `if err != nil` check. ---@text if you're using `iferr` tool, this module provides a way to automatically insert `if err != nil` check.
---@usage execute `:GoIfErr` near any err variable to insert the check ---@usage execute `:GoIfErr` near any `err` variable to insert the check
local c = require "gopher.config" local c = require "gopher.config"
local log = require "gopher._utils.log" local log = require "gopher._utils.log"