Closed nyngwang closed 1 year ago
It is indeed possible to override this. But the current API is not to my liking. (Same reason why this is not present in README)
Currently, you need something like,
local path = require("projections.path")
require("projections").setup({
workspaces_file = Path.new('path/to/workspaces.json'),
sessions_folder = Path.new('/home/some/path/here')
})
The reason this is not included in the README is because I do not like exposing projections.path
, which is an implementation detail.
I would like them to be plain old strings, so something like.
require("projections").setup({
workspaces_file = 'path/to/workspaces.json',
sessions_folder = '/home/some/path/here',
})
Fortunately, this is a pretty easy fix. I will take a look at this later today.
[...] But the current API is not to my liking. (Same reason why this is not present in README)
Good plugin author identified! Nice decision!
Fortunately, this is a pretty easy fix. I will take a look at this later today. [end]
Great to know! And take your time! I will definitely try it after you're done.
7efa010a4109b144e9ede70d9b9e54dbcdb09433 should fix this
As title. In your README.md:
My intuition tells me that:
rm -rf ~/.local/share/nvim/...
when I encountered some serious bugs on NeoVim.Thanks in advance!