Skip to content

Commit

Permalink
Fix auto-session example using non-maintained version of auto-session
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Chong authored and Dylan Chong committed Dec 2, 2023
1 parent ff55118 commit 11d22ca
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,15 @@ lvim.builtin.which_key.mappings["t"] = {

```lua
{
"Pocco81/auto-save.nvim",
"okuuva/auto-save.nvim",
config = function()
require("auto-save").setup()
require("auto-save").setup({
-- Optionally add the following trigger_events to prevent auto save on InsertLeave
trigger_events = {
immediate_save = { "BufLeave", "FocusLost" },
defer_save = {},
},
})
end,
},
```
Expand Down

0 comments on commit 11d22ca

Please sign in to comment.