Yi Ming
b1c1f32089
refactor(pos,range): extract vim.pos._util
...
Problem:
- To share logic, creating a `vim.Range` currently creates two `vim.Pos` values
as intermediates, which causes unnecessary table allocations.
- `pos.lua` and `range.lua` contain some overlapping logic.
Solution:
Add `vim.pos._util`, a module for handling
positions represented directly by `row` and `col`.
2026-05-20 16:23:03 +08:00
..
2026-05-13 07:31:17 -04:00
2026-02-01 08:22:07 +08:00
2026-05-13 01:17:44 +00:00
2026-05-20 16:23:01 +08:00
2026-05-18 08:11:18 +08:00
2026-05-04 23:18:52 +00:00
2026-01-26 06:53:53 +08:00
2026-05-20 16:23:03 +08:00
2026-05-18 08:11:18 +08:00
2026-05-16 16:54:11 +08:00
2026-02-26 19:26:35 +01:00
2026-04-24 14:45:20 -04:00
2022-03-13 04:52:45 +00:00
2026-05-18 08:11:17 +08:00
2026-05-13 07:31:17 -04:00
2026-04-14 11:13:03 -05:00
2023-08-13 13:25:10 +01:00
2025-12-30 01:44:24 -05:00
2026-05-17 09:56:37 -04:00
2026-03-12 11:12:56 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2025-08-22 19:10:43 +02:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2025-08-20 07:23:49 +08:00
2026-01-20 07:56:50 +08:00
2022-10-13 05:48:12 -07:00
2026-04-14 11:13:03 -05:00
2026-04-14 11:13:03 -05:00
2025-08-20 07:23:49 +08:00
2024-07-02 13:05:16 +02:00