vim-lsc icon indicating copy to clipboard operation
vim-lsc copied to clipboard

Analysis doesn't re-trigger when buffer is changed with `.`

Open fishythefish opened this issue 1 year ago • 0 comments

Running into this issue with https://github.com/dart-lang/dart-vim-plugin + Dart Analysis Server, but I'm not sure if it's a general issue.

Concrete example:

void main() {
  var x = 1;
  var y = 2;
  x = 3.0;
  y = 4.0;
}

Dart Analyzer issues two diagnostics here. If I navigate to the first var and cwnum<ESC> in Vim, it fixes the first one. If I then navigate to the second var and hit ., Analyzer doesn't respond to the buffer change. I have to enter and exit insert mode or perform another action like pasting, reformatting, etc. in order to re-trigger it.

fishythefish avatar Feb 24 '24 00:02 fishythefish