jeffkreeftmeijer / vim-numbertoggle

Toggles between hybrid and absolute line numbers automatically
https://jeffkreeftmeijer.com/vim-number/#automatic-toggling-between-line-number-modes
MIT License
682 stars 49 forks source link

Increase numberwidth #15

Closed frace closed 11 years ago

frace commented 11 years ago

Would you consider to increase the numberwidth to something larger? E.g. numberwidth=6? Or use the existing value by using &numberwidth and if it does not exist fall back to a default value?

jeffkreeftmeijer commented 11 years ago

Hey frace, I've never had any issues with the numberwidth, so I'm afraid I don't really understand your problem. When are you running into this?

frace commented 11 years ago

Personally I prefer to use a numberwidth of 6. So vim-numbertoggle forces my value to be 4. I modified the code and send you a pull request in a couple of minutes. Maybe it's obvious then. ;)

frace commented 11 years ago

Please see https://github.com/jeffkreeftmeijer/vim-numbertoggle/pull/17

jeffkreeftmeijer commented 11 years ago

Ah, that actually explains the problem you're running into. Thanks for the pull request, let's move this discussion there. :)