Change sign for uppercase letter not working (works for numbers only?)
Works as expected for bookmark_M but not for bookmark_0. Is that just because it hasn't been implemented for numbers yet or is it a bug?
bookmark_0 = {
sign = "→",
virt_text = "hello world",
},
bookmark_M = {
sign = "⚑",
virt_text = "This doesnt work",
},
https://gyazo.com/f4047a4774722c11ba7ba36dde24d163.gif
This doesn't work by design; allowing for this would clobber setting the M uppercase mark.
Note that vim's builtin numbered marks couldn't be set mannually (see :h :marks | /^Numbered). That's why marks.nvim simply override the mapping m<num> to it's "bookmark" function with annotation/description support. Uppercase marks is just not the same.
Numbered marks '0 to '9 are quite different. They can not be set directly. They are only present when using a shada file |shada-file|. Basically '0 is the location of the cursor when you last exited Vim, '1 the last but one time, etc. Use the "r" flag in 'shada' to specify files for which no Numbered mark should be stored. See |shada-file-marks|.