Skip to content

fast neovim config with `vim.schedule` and `opt loading`

License

Notifications You must be signed in to change notification settings

ayoubelmhamdi/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speed


neovim not view the UI before loading all plugins, it's load all necessary files from rtp synchronic.

For open the UI and plugin in async mode, I had use this truc:

vim.loop.new_timer():start( 1, 0, vim.schedule_wrap(function()
  -- load plugin and setting here
end))

but i had many probleme, with plugin that already run in async mode.

so i use now the manual events, like, not load plugins and setting at we CursorMoved

Philosophy

The linux philosophy in configuration for me, I think we should not make our config like a plugin, if you need the complexe stuff, try to create a plugin to implement this complexity.

TODO

  • fix lspconfig
  • cmp: should at place in start

About

fast neovim config with `vim.schedule` and `opt loading`

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published