From 47859870cede0ec893b780dd9827493dcc331ed8 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 23 Jun 2024 10:29:21 +0200 Subject: [PATCH] docs: added note on package order --- docs/packages.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/packages.md b/docs/packages.md index 9e71ece..7675802 100644 --- a/docs/packages.md +++ b/docs/packages.md @@ -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)),