Skip to content

Commit

Permalink
docs: going back to loop for compat with older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronr committed Jul 20, 2024
1 parent 0e4b7bc commit d34bd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ A quick workaround for inability to auto create new sessions is to conditionally

```lua
require('auto-session').setup {
auto_session_enable_last_session = vim.fn.cwd() == vim.uv.os_homedir(),
auto_session_enable_last_session = vim.loop.cwd() == vim.loop.os_homedir(),
}
```

Expand Down

0 comments on commit d34bd7b

Please sign in to comment.