Closed chottolabs closed 2 months ago
new discovery in nvim lua api actually changes everything... I can replace all the write_content_at_location type functions and do some cooler stuff without forcing the user to keep the cursor in place.
write_content_at_location
https://neovim.io/doc/user/api.html#_extended-marks
it basically saves a position in the buffer, but it updates properly when you are inserting text before it
new discovery in nvim lua api actually changes everything... I can replace all the
write_content_at_location
type functions and do some cooler stuff without forcing the user to keep the cursor in place.https://neovim.io/doc/user/api.html#_extended-marks
it basically saves a position in the buffer, but it updates properly when you are inserting text before it