aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runner_spec.lua
AgeCommit message (Collapse)Author
2023-09-12fix: modify diff calculation to handle end-of-file newlines better (#35)Steven Arcangeli
2023-08-30feat: apply changes as text edits using LSP utils (#18)Steven Arcangeli
* feat: apply changes as text edits using LSP utils This means we can leverage all of the work that was done in the LSP client to preserve marks, cursor position, etc * log: add trace logging to debug performance * feat: use the same diff -> TextEdit technique for bad LSP servers Some LSP servers simply return a single TextEdit that replaces the whole buffer. This is bad for extmarks, cursor, and if the buffer is open in multiple windows the non-active window will jump to the top. We can detect that situation and apply the same vim.diff logic to convert it into more granular TextEdits.
2023-08-27lint: fix luacheck warningSteven Arcangeli
2023-08-27test: add a test suiteSteven Arcangeli