Evgeni Chasnovski

Results 153 comments of Evgeni Chasnovski

> Is it possible to emit some sort of Event (`LabelAdded` / `LabelRemoved`) whenever a label is added/removed from a path/file? Trying to implement a statusline indicator to show whether...

What does `vim.cfg.runtime__starts_cwd` show? As it is used as `cwd` under which you add `path`. Where does it come from (as it is not built-in)?

> `vim.cfg.runtime__starts_cwd` is `vim.uv.cwd()` when starting nvim in a folder(the folder path that nvim starts from). Could you, please, execute `:=vim.cfg.runtime__starts_cwd` prior to typing `pa` and tell if it prints...

> seems because count is 0 and meet the condition `local should_prune = should_prune_path or path_tbl.count < threshold` ? Yes, it was exactly the issue. It should now work on...

Thanks for kind words! Asking not 'mini.visits' related questions would have been better in a "Q&A" section of [Discussions](https://github.com/echasnovski/mini.nvim/discussions), but no worries for this time. > 1. I was wondering...

> unfortunately, I couldn't find an api to retrieve it from the function `minivisits.gen_sort.default`. Yes, because I really think it should not be *that* important. The whole algorithm is described...

> I'd like to scope my visits to a branch, and I had kinda hoped that there would be an option to provide my own `cwd` generating function where I...

With the release of 0.12.0, 'mini.visits' is now (finally) out of beta-testing. Many thanks to everyone for constructive feedback and actual use cases!

Thanks for the suggestion! I've just checked it, and it indeed seems to work with one line change. As the feature is only a week old, I'd wait a bit...

This should be resolved on latest `main` thanks to @gpanders.