Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate prefixes #389

Open
qbnil opened this issue Apr 10, 2024 · 1 comment
Open

Duplicate prefixes #389

qbnil opened this issue Apr 10, 2024 · 1 comment

Comments

@qbnil
Copy link

qbnil commented Apr 10, 2024

Is there any way i can only leave one prefix sign all the time. Right now there are cases when these are getting multiplied for some reason like here
image
And the main thing, the signs are not getting highlighted. It'd be cool if i either get everything highlighted or only leave one sign icon..

@VonHeikemen
Copy link
Owner

I don't use virtual text so I'm not sure how to do it. I do know you can configure virtual text using vim.diagnostic.config(). And here are the properties virtual_text supports opts.VirtualText.

So, call vim.diagnostic.config and setup the virtual_text property.

vim.diagnostic.config({
  virtual_text = {
     ---
     -- here you configure whatever options you have available.
     ---
  }
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants