Files
neovim/runtime/lua/vim
Jongwook Choi fa4b02fa67 feat(vim.version): add vim.version.le and vim.version.ge
- Problem: One cannot easily write something like, for example:
    `version_current >= {0, 10, 0}`; writing like
    `not vim.version.lt(version_current, {0, 10, 0})` is verbose.

- Solution: add {`le`,`ge`} in addition to {`lt`,`gt`}.

- Also improve typing on the operator methods: allow `string` as well.

- Update the example in `vim.version.range()` docs: `ge` in place of
  `gt` better matches the semantics of `range:has`.
2024-01-21 11:41:50 +01:00
..
2023-09-20 13:42:41 +01:00
2023-12-30 17:40:53 +01:00
2024-01-16 09:33:10 +00:00
2024-01-21 11:10:53 +01:00
2023-09-14 08:23:01 -05:00
2023-09-20 13:42:41 +01:00
2024-01-19 11:54:04 +00:00
2024-01-03 19:17:52 +00:00
2023-12-30 17:40:53 +01:00
2024-01-18 00:14:48 -08:00
2023-09-23 23:46:45 +01:00
2023-12-30 17:40:53 +01:00
2023-09-23 23:46:45 +01:00