VidocqH / lsp-lens.nvim

Neovim plugin for displaying references and difinition infos upon functions like JB's IDEA.
MIT License
252 stars 15 forks source link

Add a dividing line #25

Open LintaoAmons opened 10 months ago

LintaoAmons commented 10 months ago

If it's possible to add a dividing line along with the text

like:

image
mcauley-penney commented 8 months ago

This is kind of possible atm by adjusting the default highlight to use underlining, e.g.

{
    "VidocqH/lsp-lens.nvim",
    config = function()
        require 'lsp-lens'.setup({})
        vim.api.nvim_set_hl(0, "LspLens", { underline = true })
    end
} 

If you want to combine the underline highlight with your comment highlight (the default for lsp-lens), you can implement that by getting the comment fg highlight and combining it with underline = true