Hi everyone! So, I failed to understand how you’d use extmarks. The only thing I know is you can set an extmark to an arbitrary position and it will get updated when the text has changed and you can get its position.
I keep seing it being mentioned as a snippet placeholder or semantic highlighting but I don’t understand how it could be useful for those. If anyone could explain why is that the case and give an example of extmark usage (it could be anything, not necessarily the two I mentioned previously) I’d highly appreciate that.