Skip to content

Commit c77c78b

Browse files
committed
doc: add warning about upcoming breaking changes
1 parent 9334595 commit c77c78b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/overseer/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ local M = {}
66

77
local setup_callbacks = {}
88

9+
local BREAKING_CHANGES_NOTICE =
10+
[[ATTN: overseer.nvim will experience breaking changes soon. Pin to version v1.6.0 or earlier to avoid disruption.
11+
See: https://github.com/stevearc/overseer.nvim/pull/448]]
912
local initialized = false
1013
local pending_opts
1114
local function do_setup()
@@ -17,6 +20,7 @@ local function do_setup()
1720
pending_opts = {}
1821
end
1922
end
23+
vim.notify_once(BREAKING_CHANGES_NOTICE, vim.log.levels.WARN)
2024
local config = require("overseer.config")
2125
local log = require("overseer.log")
2226
config.setup(pending_opts)

0 commit comments

Comments
 (0)