From 866de841a65bd31e75e02dd0f7e3801823acba5d Mon Sep 17 00:00:00 2001 From: olimorris Date: Thu, 9 Mar 2023 09:46:47 +0000 Subject: [PATCH] docs: update --- README.md | 15 --------------- doc/persisted.nvim.txt | 19 +------------------ 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/README.md b/README.md index 013e6a3..87850fb 100644 --- a/README.md +++ b/README.md @@ -327,21 +327,6 @@ vim.api.nvim_create_autocmd({ "User" }, { The session data available differs depending on the events that are hooked into. For non-telescope events, only the session's full path is available (via `session.data`). However for telescope events, the `branch`, `name`, `file_path` and `dir_path` are available. -Finally, if you're using the excellent [Legendary.nvim](https://github.com/mrjones2014/legendary.nvim) plugin, consider the following snippet format: - -```lua -{ - name = "PersistedHooks", - { - "User", - function() - print("Loading session!") - end, - opts = { pattern = "PersistedLoadPre" }, - }, -}, -``` - ### Telescope extension diff --git a/doc/persisted.nvim.txt b/doc/persisted.nvim.txt index 0d972e5..6248885 100644 --- a/doc/persisted.nvim.txt +++ b/doc/persisted.nvim.txt @@ -1,4 +1,4 @@ -*persisted.nvim.txt* For Neovim >= 0.8.0 Last change: 2023 March 09 +*persisted.nvim.txt* Simple session management for Neovim ============================================================================== Table of Contents *persisted.nvim-table-of-contents* @@ -376,23 +376,6 @@ into. For non-telescope events, only the session’s full path is available (via `session.data`). However for telescope events, the `branch`, `name`, `file_path` and `dir_path` are available. -Finally, if you’re using the excellent Legendary.nvim - plugin, consider the following -snippet format: - ->lua - { - name = "PersistedHooks", - { - "User", - function() - print("Loading session!") - end, - opts = { pattern = "PersistedLoadPre" }, - }, - }, -< - TELESCOPE EXTENSION ~