trouble.nvim icon indicating copy to clipboard operation
trouble.nvim copied to clipboard

Make sorting keys configurable

Open WhyNotHugo opened this issue 3 years ago • 1 comments

For example, to sort entries by line number, use:

require("trouble").setup({
  sort_keys = {
    "filename",
    "lnum",
    "col",
    "severity",
  }
})

The defaults remain the same.

Fixes: https://github.com/folke/trouble.nvim/issues/65

WhyNotHugo avatar Jun 13 '22 22:06 WhyNotHugo

Any feedback on this?

WhyNotHugo avatar Jul 01 '22 21:07 WhyNotHugo

Thanks!

WhyNotHugo avatar Sep 05 '22 08:09 WhyNotHugo

Thank you!

folke avatar Sep 05 '22 08:09 folke