Wrong diff sending to server
Closed this issue · 5 comments
hrsh7th commented
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.
hrsh7th commented
This problem reason is not the wrong diff.
The reasons is that failed clearing diagnostics.
hrsh7th commented
We should support the following features maybe.
- [ ] textDocument/willSave
- [ ] textDocument/willSaveWaitUntil
- [ ] textDocument/didSave
hrsh7th commented
Currently, vim-lamp has no this problem (because I disabled incremental diff feature).
hrsh7th commented
The problem did not relate to incremental diff.
Just bug of vim-vital-vs
's diff algorithm.
hrsh7th commented
Fixed on hrsh7th/vim-vital-vs@6e01b9f