Closed Semnodime closed 6 years ago
Hmm, I don't use collapsed functions, so this may be a bug. What's the behavior if you don't have relative-numbers
installed? Ideally, that's what we should match for absolute line numbers.
So without the relative numbers the number-bar looks like this: (In all examples there is one / the same collapsed function) With relative numbers everything seems fine… But once you activate vim-mode’s insert mode the following is happening: Now, the absolute number isn’t quite correct which can be irritating when debugging with absolute line numbers and without awareness of this behavior. I expected picture 3 to show the same behavior as picture 1
Gotcha, this is definitely a legitimate issue then. I won't have time to look at the causes myself anytime soon, but happy to accept a PR if anyone is reading this.
Im not sure whether this is a bug or a feature: When activating relative numbers in a python file with collapsed functions, the current line value for "absolute line" displays correctly. Though when showing absolute numers by either entering vim insert mode or activating permanent absolute number view in the settings, the whole (collapsed) function counts as one line regardless of its size.