nvim-neorocks / rocks.nvim

Neovim plugin management inspired by Cargo, powered by luarocks
GNU General Public License v3.0
379 stars 6 forks source link

fix(runtime): append start plugins to rtp before calling preload hooks #267

Closed mrcjkb closed 1 month ago

mrcjkb commented 1 month ago

Closes #237.

This fixes the loading order issue (e.g. colorschemes) for rocks-config.nvim:

  1. Append start plugins to the rtp
  2. Call preload hooks -> rocks-config.nvim
  3. Source plugin directories

With this, I don't think rocks-config needs to worry about providing before or after config mechanisms.

github-actions[bot] commented 1 month ago

Review Checklist

Does this PR follow the Contribution Guidelines? Following is a partial checklist:

Proper conventional commit scoping:

If applicable: