eugenpt / lite-xl-vibe

VI(m?) Bindings (with a hint of Emacs) for lite-xl.
MIT License
55 stars 7 forks source link

Marks not persistent when changed outside lite-xl #13

Open eugenpt opened 3 years ago

eugenpt commented 3 years ago

Well. That would be a tricky thing.

I suppose it would be somewhat easy to do in case when changes are only created via git changes,

So "simply" save commit on mark set, then on reopening the file check current commit/state, and if it differs from the saved one, try and compensate line number change (what else can I do?)

but still I don't know yet hot to actually parse git files