feat(snacks): added Snacks.version. auto updated by the release workflow

This commit is contained in:
Folke Lemaitre 2025-10-23 15:35:33 +02:00
parent 987b2cf17c
commit a283beb6dc
No known key found for this signature in database
GPG key ID: 9B52594D560070AB
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"extra-files": ["lua/snacks/init.lua"],
"release-type": "simple"
}
}

View file

@ -12,6 +12,8 @@ setmetatable(M, {
_G.Snacks = M
_G.svim = vim.fn.has("nvim-0.11") == 1 and vim or require("snacks.compat")
M.version = "2.24.0" -- x-release-please-version
---@class snacks.Config.base
---@field example? string
---@field config? fun(opts: table, defaults: table)