folke / trouble.nvim

🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Apache License 2.0
5.12k stars 172 forks source link

feature: add support for markdown outline #440

Closed imroc closed 1 month ago

imroc commented 1 month ago

Did you check the docs?

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

I used symbols-outline.nvim as <leader>cs, it support markdown, but not supported any more when switch to trouble-v3, which only support LSP Document Symbols.

Describe the solution you'd like

no

Describe alternatives you've considered

symbols-outline.nvim

Additional context

No response

folke commented 1 month ago

I initially planned to implement this in trouble as well, but then I noticed that you can just use the lsp server marksman. Since that's an LSP server, document symbols also work.

See for example:

image

imroc commented 1 month ago

Wow! that's nice, happy to see it's also in LazyVim's extras!