Skip to content

docs: clarify custom plugin load ordering - #2151

Merged
oriori1703 merged 1 commit into
nvim-lua:masterfrom
TyceHerrman:docs/custom-plugin-load-order
Sep 4, 2026
Merged

docs: clarify custom plugin load ordering#2151
oriori1703 merged 1 commit into
nvim-lua:masterfrom
TyceHerrman:docs/custom-plugin-load-order

Conversation

@TyceHerrman

Copy link
Copy Markdown
Contributor

Summary

  • clarify that the custom-plugin convenience loader's file order is unspecified
  • recommend keeping dependent plugins in the same file
  • document explicit ordered requires for intentionally separate modules
  • place the same warning beside the loader implementation

The loader itself remains unchanged.

Closes #2038

Testing

  • stylua --check .
  • git diff --check

Comment thread init.lua

@oriori1703 oriori1703 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great :)

@oriori1703
oriori1703 merged commit 03577a3 into nvim-lua:master Sep 4, 2026
1 check passed
dam9000 added a commit to dam9000/kickstart-modular.nvim that referenced this pull request Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document explicit custom plugin requires when order matters

3 participants