rachartier / tiny-inline-diagnostic.nvim

A Neovim plugin that display prettier diagnostic messages. Display one line diagnostic messages where the cursor is, with icons and colors.
MIT License
164 stars 3 forks source link

Delay in insert mode #2

Closed arielherself closed 2 weeks ago

arielherself commented 2 weeks ago

Not sure if it's caused by my other configurations, after typing a character the inline text seems to show the diagnostics of previous state.

Here is a screenshot showing it:

image

As you can see, it is jj instead of jjj.

rachartier commented 2 weeks ago

Hello, thanks for using the plugin.

Yes, it's probably because the LSP hasn't updated itself yet. My plugin is based on vim.diagnostic, so if the LSP doesn't trigger an update, I can't really catch it...

It greatly depends on the LSP. I have the same problem with Lua and Python.

arielherself commented 2 weeks ago

Oh I understand. And thanks for your awesome plugin!