mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix(config): properly handle uis connecting after startup
This commit is contained in:
parent
457e65eec8
commit
5ed89b5a0d
4 changed files with 28 additions and 26 deletions
|
@ -75,7 +75,7 @@ function M.check(start)
|
|||
|
||||
if not (start or #changes == 0) then
|
||||
vim.schedule(function()
|
||||
if Config.options.change_detection.notify then
|
||||
if Config.options.change_detection.notify and not Config.headless() then
|
||||
local lines = { "# Config Change Detected. Reloading...", "" }
|
||||
for _, change in ipairs(changes) do
|
||||
table.insert(lines, "- **" .. change.what .. "**: `" .. vim.fn.fnamemodify(change.file, ":p:~:.") .. "`")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue