tom-anders / telescope-vim-bookmarks.nvim

Integrates vim-bookmarks into telescope.nvim
MIT License
114 stars 23 forks source link

A config option for sorting by line number? #17

Open Mickychen00 opened 2 years ago

Mickychen00 commented 2 years ago

Hi! Is there a sorting strategy by line number in this plugin? An awesome tool!

tom-anders commented 2 years ago

tbh I haven't used this Plugin myself in quite some time. Feel free to take a look at the code yourself and open a PR, I probably won't have time to do it myself in the near future.

Mickychen00 commented 2 years ago

OK. But I am freshman about lua and telescope. When I read your script, I found sorter = conf.generic_sorter(opts), may be the generic_sorter the core of my question? I have no idea to amend it. Anyway, it is a very useful tool for me. thx!

tom-anders commented 2 years ago

Sounds like the right place, you’ll probably find out more by looking at the docs of telescope.nvim