docs: update

main
olimorris 2023-03-09 09:46:47 +00:00
parent 7b295391b4
commit 866de841a6
2 changed files with 1 additions and 33 deletions

View File

@ -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
<!-- panvimdoc-ignore-start -->

View File

@ -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 sessions full path is available
(via `session.data`). However for telescope events, the `branch`, `name`,
`file_path` and `dir_path` are available.
Finally, if youre 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 ~