Closed hrsh7th closed 4 years ago
This problem reason is not the wrong diff. The reasons is that failed clearing diagnostics.
We should support the following features maybe.
- [ ] textDocument/willSave
- [ ] textDocument/willSaveWaitUntil
- [ ] textDocument/didSave
Currently, vim-lamp has no this problem (because I disabled incremental diff feature).
The problem did not relate to incremental diff.
Just bug of vim-vital-vs
's diff algorithm.
Sometimes vim-lamp send wrong diff to server. I don't know to reproducible step. Probably I think it occur when I edit empty buffer.