SmiteshP / nvim-gps

Simple statusline component that shows what scope you are working inside
Apache License 2.0
478 stars 47 forks source link

Support for clickable contexts to jump to their locations #103

Open nghialm269 opened 2 years ago

nghialm269 commented 2 years ago

Now nvim support clickable items in statusline / winbar (https://github.com/neovim/neovim/pull/18650), is it possible to add click support to each context of gps to jump to it?

Maybe expose the location of each context in gps.get_data function, or add an new property to opts table in gps.get_location function to support click.