docs: added note on package order

This commit is contained in:
Folke Lemaitre 2024-06-23 10:29:21 +02:00
parent 20b89c311b
commit 47859870ce
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ sidebar_position: 4
- **Rockspec**: [luarocks](https://luarocks.org/) `*-scm-1.rockspec` [file](https://github.com/luarocks/luarocks/wiki/Rockspec-format)
- **Packspec**: `pkg.json` (experimental, since the [format](https://github.com/neovim/packspec/issues/41) is not quite there yet)
You can enable/disable package sources with [`config.pkg.sources`](/configuration).
The order of sources is important, as the first source that finds a package will be used.
:::info
Package specs are always loaded in the scope of the plugin (using [specs](/spec#advanced)),