Files
neovim/runtime
bfredl 68cb4a7405 feat(extmarks): add "undo_restore" flag to opt out of undo-restoring
It is a design goal of extmarks that they allow precise tracking
of changes across undo/redo, including restore the exact positions
after a do/undo or undo/redo cycle. However this behavior is not useful
for all usecases. Many plugins won't keep marks around for long after
text changes, but uses them more like a cache until some external source
(like LSP semantic highlights) has fully updated to changed text and
then will explicitly readjust/replace extmarks as needed.

Add a "undo_restore" flag which is true by default (matches existing
behavior) but can be set to false to opt-out of this behavior.

Delete dead u_extmark_set() code.
2023-11-05 12:18:29 +01:00
..
2023-10-28 00:24:40 +02:00
2023-10-16 16:36:25 +08:00
2023-09-13 17:23:45 +02:00
2023-10-27 10:06:52 +02:00
2023-10-16 16:36:25 +08:00
2023-10-16 16:36:25 +08:00
2023-08-23 20:36:16 +01:00
2023-11-03 07:22:02 +08:00
2023-10-21 18:04:08 +08:00
2023-11-04 12:55:54 +01:00
2022-08-20 10:04:55 +02:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-10-16 16:36:25 +08:00
2023-08-24 11:33:06 +09:00
2023-08-13 13:25:10 +01:00
2023-04-07 13:26:29 +02:00
2023-08-31 10:58:54 +02:00
2023-10-16 16:36:25 +08:00