You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-4Lines changed: 31 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -384,7 +384,7 @@ The plugin also comes with pre-defined highlight groups for the Telescope implem
384
384
385
385
The plugin has been designed to be fully extensible. All of the functions in the [init.lua](https://github.com/olimorris/persisted.nvim/blob/main/lua/persisted/init.lua) and [utils.lua](https://github.com/olimorris/persisted.nvim/blob/main/lua/persisted/utils.lua) file are public.
386
386
387
-
**Custom Autoloading** by [neandrake](https://github.com/neandrake)
387
+
**Custom autoloading** by [neandrake](https://github.com/neandrake)
388
388
389
389
Autoloading a session if arguments are passed to Neovim:
**Git Branching and Sub-directories** by [mrloop](https://github.com/mrloop)
428
+
**Git branching and sub-directories** by [mrloop](https://github.com/mrloop)
429
429
430
430
As per [#149](https://github.com/olimorris/persisted.nvim/discussions/149), if you invoke Neovim from a sub-directory then the git branch will not be detected. The code below amends for this:
431
431
@@ -449,7 +449,7 @@ As per [#149](https://github.com/olimorris/persisted.nvim/discussions/149), if y
449
449
}
450
450
```
451
451
452
-
**Ignore Certain Branches**
452
+
**Ignore certain branches**
453
453
454
454
If you'd like to ignore certain branches from being saved as a session:
455
455
@@ -479,7 +479,34 @@ If you'd like to ignore certain branches from being saved as a session:
479
479
}
480
480
```
481
481
482
-
**Only Save Certain Sessions**
482
+
**Only save session if a minimum number of buffers are present**
0 commit comments