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

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

Open
fishythefish opened this issue Feb 24, 2024 · 0 comments
Open

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

fishythefish opened this issue Feb 24, 2024 · 0 comments

Comments

@fishythefish
Copy link

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.

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

1 participant