diff --git a/init.lua b/init.lua index 1f1e029b..c6940dbc 100644 --- a/init.lua +++ b/init.lua @@ -223,6 +223,14 @@ vim.opt.rtp:prepend(lazypath) -- To update plugins you can run -- :Lazy update -- + +--Autoupdate +vim.api.nvim_create_autocmd('VimEnter', { + callback = function() + require('lazy').update { show = false } + end, +}) + -- NOTE: Here is where you install your plugins. require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). @@ -552,7 +560,7 @@ require('lazy').setup({ }) end - -- The following code creates a keymap to toggle inlay hints in your + -- The following autocommand is used to enable inlay hints in your -- code, if the language server you are using supports them -- -- This may be unwanted, since they displace some of your code