mvanderkamp / worklist.vim

A quickfix todo list for when you're flying
3 stars 1 forks source link

Search runtimepath for a directory we can use to store worklist files #3

Closed mvanderkamp closed 1 year ago

mvanderkamp commented 1 year ago

Possible solution to address #2. This could have the downside of saving worklist files in an inappropriate directory. An alternative solution would be to require that the worklist_dir value be set.

Since the default is to only consistently use one file, worklist.json, I'm leaning towards it being okay if this ends up in a weird place.

The first entry in rtp should be something like $HOME/.vim or $HOME\vimfiles anyway.

mvanderkamp commented 1 year ago

@SebastianBehrens Would this work for you?

mvanderkamp commented 1 year ago

I think this should be fine. I'll merge it.