Checker functionality is non-functional #1999
-
Updated my configuration within the past couple weeks to enable a weekly plugin update checker to help me stay on-top of updates better. Realized today that it hadn't seemed to give any notifications. Digging into this a little bit it appears that Lazy isn't generating and writing a state file within the To further prove this I explicitly set the state configuration object, updated the frequency to 10s, then manually invoked a check to see if it would exist. Unfortunately no dice still. To take it to the extreme I took the following steps and yet still the file is not being written to. touch ~/.local/state/nvim/lazy/state.json
chmod 666 ~/.local/state/nvim/lazy/state.json Lazy Setup Configuration
Latest git commit updating my lazy initialization approach Configuration I used (uncommitted) for testing the absence of the require('lazy').setup('plugins', {
performance = {
rtp = {
disabled_plugins = { 'netrwPlugin' },
},
checker = {
enabled = true,
notify = true, -- get a notification when new updates are found
frequency = 10, -- check for updates every weekly (7 days)
check_pinned = true, -- check for pinned packages that can't be updated
},
state = vim.fn.stdpath('state') .. '/lazy/state.json', -- state info for checker and other things
},
})
Any inputs/suggestions would be much appreciated. P.S. It might be worth adding something to the health check to ensure the state file is present/writable? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well I'm an idiot... This is what I get for working on configurations late at night. Had the checker configuration as a child of |
Beta Was this translation helpful? Give feedback.
Well I'm an idiot... This is what I get for working on configurations late at night. Had the checker configuration as a child of
performance
rather than the root. That'll do it...