dasupradyumna/midnight.nvim

Support documentSymbol Highlight

Closed this issue · 6 comments

SDGLBL commented

As title

I'm afraid I don't understand what you mean; could you elaborate?
If possible, provide existing examples.

SDGLBL commented

I'm afraid I don't understand what you mean; could you elaborate?
If possible, provide existing examples.

color schema (catppuccin) with document highlight
image
color schema (midnight) without document highlight
image

If it's just a search highlight, midnight.nvim already does this.
issue#3

But I'm guessing that you have a plugin that highlights document symbols using LSP. Can you check and let me know? I probably did not add support for that plugin yet.

Could you execute :Inspect when the cursor is on a highlighted symbol (with catppuccin colorscheme enabled) and post the output here?

SDGLBL commented

I use "vim-illuminate"

{
        "RRethy/vim-illuminate",
        event = "VeryLazy",
        config = function()
          require("utils.lsp").on_attach(function(client, _)
            require("illuminate").on_attach(client)
          end, { group = "_illuminate_attach", desc = "attach illuminate" })
        end,
 },

Inspect output when use catppuccin

image

I will add support for vim-illluminate.
Let me know if it fixes the issue after I add it.

Let me know if this adds the highlights you wanted. :)

Cheers ~