0

this is my neovim diagnostic config, I have enabled "update_in_insert" neovim config

when diagnostic detect new error, It will show them correctly, but when error is fixed, it still show the old virtual text even after leave insert mode until save current file, here you can see, when line 29 is commented, all errors should be gone my rust code

6
  • Please don’t post images of text. You can edit and use Markdown to insert blocks of code.
    – D. Ben Knoble
    Jun 13 at 21:24
  • I'm sorry, but it's a problem about vim diagnostic GUI, I have to show it by image
    – Jeff Jia
    Jun 14 at 3:46
  • 1
    I suppose Ben point out the configuration screenshot that could be replaced by the actual excerpts. The second screenshot is very useful indeed. Jun 14 at 4:20
  • Which plugin is creating these warning? Do you still have the warning after you reload the files :e %? It looks to me a plugin bug at first glance. Jun 14 at 7:30
  • 1
    I'm using AstroNvim, this is its default settings, I only added line 29-31
    – Jeff Jia
    Jun 15 at 5:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.