Add autoupdate

This commit is contained in:
long-crypto 2024-07-24 01:51:43 +00:00 committed by GitHub
parent 1d4c7f9550
commit c4e52e2722
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 1 deletions

View File

@ -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