docs: added config.dev.path to the example

This commit is contained in:
Folke Lemaitre 2022-12-20 13:49:29 +01:00
parent 6404d42155
commit ec0f8d0947
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ return {
{ url = "git@github.com:folke/noice.nvim.git" }, { url = "git@github.com:folke/noice.nvim.git" },
-- local plugins can also be configure with the dev option. -- local plugins can also be configure with the dev option.
-- This will use ~/projects/noice.nvim/ instead of fetching it from Github -- This will use {config.dev.path}/noice.nvim/ instead of fetching it from Github
-- With the dev option, you can easily switch between the local and installed version of a plugin -- With the dev option, you can easily switch between the local and installed version of a plugin
{ "folke/noice.nvim", dev = true }, { "folke/noice.nvim", dev = true },
} }

View File

@ -66,7 +66,7 @@ return {
{ url = "git@github.com:folke/noice.nvim.git" }, { url = "git@github.com:folke/noice.nvim.git" },
-- local plugins can also be configure with the dev option. -- local plugins can also be configure with the dev option.
-- This will use ~/projects/noice.nvim/ instead of fetching it from Github -- This will use {config.dev.path}/noice.nvim/ instead of fetching it from Github
-- With the dev option, you can easily switch between the local and installed version of a plugin -- With the dev option, you can easily switch between the local and installed version of a plugin
{ "folke/noice.nvim", dev = true }, { "folke/noice.nvim", dev = true },
} }