lewis6991 / impatient.nvim

Improve startup time for Neovim
MIT License
1.19k stars 28 forks source link

Loading impatient with packer #54

Closed mosheavni closed 2 years ago

mosheavni commented 2 years ago

Hi, I'm new to lua, started using Packer to install packages. I saw an option to run a command with the installation, and I wonder why it's not documented here.

  use {
    'lewis6991/impatient.nvim',
    config = function() require('impatient').setup() end
  }

Wouldn't it work? Thanks.

lewis6991 commented 2 years ago

No, doesn't work. The require needs to run much earlier in the init sequence as documented.