docs: update readme for use with dashboards

main
olimorris 2023-02-25 10:39:17 +00:00
parent c165fbbaac
commit 296a7d60e7
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,6 @@ Install the plugin with your preferred package manager:
-- Lua -- Lua
use({ use({
"olimorris/persisted.nvim" "olimorris/persisted.nvim"
-- lazy = true, -- For lazy loading
config = true config = true
}) })
``` ```
@ -50,7 +49,6 @@ use({
-- Lua -- Lua
use({ use({
"olimorris/persisted.nvim", "olimorris/persisted.nvim",
--module = "persisted", -- For lazy loading
config = function() config = function()
require("persisted").setup() require("persisted").setup()
end, end,
@ -72,6 +70,8 @@ lua << EOF
EOF EOF
``` ```
If you wish to use session _autoloading_ alongside a dashboard plugin, it is recommended that you give this plugin a greater loading priority. With `Packer` the `after` config option can be used and in `Lazy.nvim`, the `priority` property.
### Telescope extension ### Telescope extension
Ensure that the telescope extension is loaded with: Ensure that the telescope extension is loaded with: