I would like to be able to set additional tags for existing single point tags. Thus, I could solve two problems that I am facing now:
labels are set in the script, and I do not want to destroy labels that have already been set by the user script
I could set an unlimited number of labels so that I didn't have to count them (I would call them something like "script_mrk_" . s:mark_count ).
So, if expressed as function calls, I was probably looking for something
setPrivateMark(l:mark_name, l:line, l:pos)
and
let line_pos = getPrivateMark(l:mark_name)
Of course, the solution should be resistant to changes in the buffer above the label after setting it using setPrivateMark and before getPrivateMark(...) .
Is there such a thing?
source share