Closed simonmandlik closed 4 months ago
You can fully customize all of that, but docs are a bit lacking for that. Check the src code for the sources. It contains all the defaults for differernt modes. You can override those modes in your own config.
Those are the same options you can put in your config.
For reference, this works for qflist and loclist in config
qflist = { title = "{hl:Title}Quickfix List{hl} {count}" },
loclist = { title = "{hl:Title}Location List{hl} {count}" }
However, I can't get rid of the title row and indent in the lsp_document_symbols
case:
lsp_document_symbols = {
title = "",
groups = {},
}
File is gone, but title row remained and is empty. Setting title
to nil
seems to have no effect.
Did you check the docs?
Is your feature request related to a problem? Please describe.
It would be great to be able to modify how are tops of trouble windows displayed.
For example, I would like to get rid of "Document Symbols" and filename in
:Trouble lsp_document_symbols
, because it adds very little information (there is always only one file) at the expense of two additional indentations, which is especially unneeded withwin.position = right
:On the other hand, I would find it handy to e.g. display
Quickfix list
andLocation list
on top ofTrouble qflist
andTrouble loclist
, since I always forget, which I'm currently having opened.