diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-03-17 01:12:33 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2023-03-20 13:40:38 +0100 |
commit | a40eb7cc991eb4f8b89f467e8e42563868efa76b (patch) | |
tree | 8e6da1b0500ea0b11a97c1a0472204bdf4d4fc16 /src/nvim/lua/stdlib.c | |
parent | a715e6f87eede36775d0921b3537c7c57a82890a (diff) | |
download | rneovim-a40eb7cc991eb4f8b89f467e8e42563868efa76b.tar.gz rneovim-a40eb7cc991eb4f8b89f467e8e42563868efa76b.tar.bz2 rneovim-a40eb7cc991eb4f8b89f467e8e42563868efa76b.zip |
feat(vim.version): more coercion with strict=false
Problem:
"tmux 3.2a" (output from "tmux -V") is not parsed easily.
Solution:
With `strict=false`, discard everything before the first digit.
- rename Semver => Version
- rename vim.version.version() => vim.version._version()
- rename matches() => has()
- remove `opts` from cmp()
Diffstat (limited to 'src/nvim/lua/stdlib.c')
0 files changed, 0 insertions, 0 deletions