News for hackers. Stuff that matters.
Re:Leaving Neovim for Zed by wyclif on Sunday August 18, 2024 @10:05PM (#41287171)
It sounds like you don't have lazy loading enabled. No way it should take that long to start up, and version updates shouldn't be that frequent.
Re:Leaving Neovim for Zed by Filligree on Monday August 19, 2024 @11:44AM (#41292002)
I don't know how to enable it. It isn't mentioned on the config screen, though not very much is.
Re:Leaving Neovim for Zed by wyclif on Monday August 19, 2024 @09:30PM (#41296004)
How much ricing have you done of the default config? Lazy loading of plugins is enabled by default— you shouldn't have to do anything. LazyVim handles lazy loading automatically; you don't need to manually configure anything. It should look like this:

    -- lazy.nvim configuration example
    require('lazy').setup({
      defaults = {
        lazy = true, -- default to lazy loading
        -- other default options
      },
      plugins = {
        { 'neovim/nvim-lspconfig' },
        { 'hrsh7th/nvim-cmp' },
        -- ... other plugins
      }
    })