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

  • Please don’t post images of text. You can edit and use Markdown to insert blocks of code.
    – D. Ben Knoble
    Jun 13, 2023 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, 2023 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, 2023 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, 2023 at 7:30
  • 1
    I'm using AstroNvim, this is its default settings, I only added line 29-31
    – Jeff Jia
    Jun 15, 2023 at 5:46


Your Answer

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

Browse other questions tagged or ask your own question.