folke / flash.nvim

Navigate your code with search labels, enhanced character motions and Treesitter integration
Apache License 2.0
2.22k stars 27 forks source link

feature: Export the prompt as a variable that can be used in the statusline. #346

Open xiyaowong opened 3 weeks ago

xiyaowong commented 3 weeks ago

Did you check the docs?

Is your feature request related to a problem? Please describe.

It's not a big issue. I just want to integrate the prompt into the statusline.

Describe the solution you'd like

Export a variable or method to get the prompt. e.g. require('flash').prompt()

Describe alternatives you've considered

Or vim.g.flash_prompt

Additional context

No response