canola.nvim/lua
XeroOl 07f80ad645
fix: support natural ordering for numbers with >12 digits (#652)
* fix: support natural ordering for numbers with >12 digits

Changes the column ordering code when `view_options.natural_order`
is enabled, so that it can support larger numbers.

The previous 12-digit padding approach breaks for numbers above 12
digits.

This length-prefixed approach can scale to much higher numbers.
I picked %03 (padding 3 digits) because most filesystems don't allow
more than 255 bytes in a path segment, and "255" is 3 digits long.

* add memoization to natural order sorting

* remove call to unpack
2025-08-20 18:22:30 -07:00
..
oil fix: support natural ordering for numbers with >12 digits (#652) 2025-08-20 18:22:30 -07:00
resession/extensions cleanup: don't need empty methods in resession extension 2023-09-17 10:10:42 -07:00