In my statusline, I like to know if persistence.nvim is active. I have a simple helper function: function using_session() return (vim.g.using_persistance ~= nil) end which I reference and display a corresponding glyph |
||
|---|---|---|
| .. | ||
| persistence | ||
In my statusline, I like to know if persistence.nvim is active. I have a simple helper function: function using_session() return (vim.g.using_persistance ~= nil) end which I reference and display a corresponding glyph |
||
|---|---|---|
| .. | ||
| persistence | ||