Add autoupdate
This commit is contained in:
parent
1d4c7f9550
commit
c4e52e2722
10
init.lua
10
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
|
||||
|
|
Loading…
Reference in New Issue