canola.nvim/lua/oil
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
..
adapters fix: ssh adapter supports iso8601 dates (#635) 2025-06-30 16:54:22 -07:00
lsp fix: glob formatting on windows in neovim nightly (#631) 2025-06-04 15:40:16 -07:00
mutator fix: silent handling when buffer has no oil adapter (#573) 2025-03-04 12:57:01 -08:00
actions.lua doc: fix typecheck errors in nvim 0.11 2025-03-30 21:56:41 -07:00
cache.lua doc: disable some type warnings from new LuaLS release 2024-09-30 22:10:36 -07:00
clipboard.lua fix: indexing nil when env vars does not exist (#601) 2025-03-20 16:40:24 -07:00
columns.lua fix: support natural ordering for numbers with >12 digits (#652) 2025-08-20 18:22:30 -07:00
config.lua fix: silent handling when buffer has no oil adapter (#573) 2025-03-04 12:57:01 -08:00
constants.lua refactor: small perf win by eliminating string object keys 2023-06-25 22:44:44 -07:00
fs.lua feat: most moves and copies will copy the undofile (#583) 2025-02-13 09:40:01 -08:00
git.lua fix: git mv errors when moving empty directory (#358) 2024-04-23 19:31:54 -07:00
init.lua fix: clean up empty buffer when opening in new tab (#616) 2025-06-01 11:02:23 -07:00
keymap_util.lua feat: better merging of action desc when overriding keymaps 2024-12-03 09:44:07 -08:00
layout.lua feat: floating window max width/height can be percentages (#553) 2025-01-07 19:07:22 -08:00
loading.lua fix: increase loading display delay to avoid flicker (#424) 2024-06-19 21:41:05 -04:00
log.lua fix: gracefully handle fs_stat failures (#558) 2025-01-12 14:29:46 -08:00
pathutil.lua fix: can view drives on Windows 2023-11-05 07:27:28 -08:00
ringbuf.lua fix: spurious exits from faulty :wq detection (#221) 2024-03-12 15:57:57 -07:00
shell.lua debug: include shell command in error message 2024-11-25 09:10:33 -08:00
util.lua fix: scratch preview method (#628) 2025-07-02 09:18:28 -07:00
view.lua fix: support natural ordering for numbers with >12 digits (#652) 2025-08-20 18:22:30 -07:00