Closed ysnows closed 3 years ago
This occurs whenever there are lines lengths that exceed the current editor width which throws off the relative line number by as many lines as are wrapped – this happens whenever the cursor is below the line wraps. For example, if you have a long line of code that will not fit within the editor window (i.e. it wraps) the relative line number will be off by the number of wrapped lines. On the other hand, if you make the editor window larger so the line no longer wraps then relative numbers will work again.
Yeah, I stated this in the original issue (https://github.com/XVimProject/XVim2/issues/28#issuecomment-729209334), so for now you just have to turn off line wrapping in xcode settings for it work.
turn off line wrapping in xcode settings
works, thank you...
MacOs Catalina Version 10.15.7 (19H15) Xcode Version 12.1 (12A7403)