jan-xyz / lsp-preview.nvim

A Neovim plugin that allows previewing of LSP changes.
GNU General Public License v3.0
4 stars 0 forks source link

[Improvement] Use a normal buffer of the changing file instead of displaying as a `diff --git` buffer #3

Closed jan-xyz closed 6 months ago

jan-xyz commented 6 months ago

Each TextDocumentChange and WorkSpaceEdit.change consisted of multiple edits, which can span the entire file. This should be more consistent with the normal buffer navigation from Telescope and highlight the selected line.

Something like mini.diff can be really helpful to achieve that.