mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
feat(snacks): added Snacks.version. auto updated by the release workflow
This commit is contained in:
parent
987b2cf17c
commit
a283beb6dc
2 changed files with 3 additions and 0 deletions
1
.github/release-please-config.json
vendored
1
.github/release-please-config.json
vendored
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue