Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose match count/index for modeline segments? #120

Open
indigoviolet opened this issue Jul 13, 2022 · 1 comment
Open

Expose match count/index for modeline segments? #120

indigoviolet opened this issue Jul 13, 2022 · 1 comment

Comments

@indigoviolet
Copy link

indigoviolet commented Jul 13, 2022

Does ctrlf expose its current search state anywhere for use in segments like https://github.com/seagle0128/doom-modeline/blob/master/doom-modeline-segments.el#L1222 ?

My experimentation and skimming of the code suggested that it constructs its overlays lazily, so that I can't just count the number of overlays.

@raxod502
Copy link
Member

I do not believe these stats are exposed in a friendly way, but they could/should be. Sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants