custom interval for no relative number
IMOKURI opened this issue · comments
SUGIYAMA Yoshio commented
Custom interval is currently supported only for relative number.
It will be also supported for no relative number.
reference
maybe this comment can offer a solution,
so instead of checking against the exact numbers present in the custom interval lists, you can check whether rnu is set or not, if it is, then consider the number mentioned in the custom interval list as exact but if rnu is not set then consider the number in the custom interval list as relative, offset from the current line (vim.fn.line('.')
)
オリジナルは @Chaitanyabsprip が #5 (comment) にポスト