Commit a56bf00
authored
fix: support LuaJIT versions with neovim 0.9.2 and 0.10.x (#518)
neovim 0.10 has bumped up LuaJIT version, which makes plenary.profile
fail to work due to the "LuaJIT core/library version mismatch" error.
We can have an allowed range for `jit.version_num` as 20100~20199.
FYI, `require('jit')` reports:
nvim-0.9.1:
version = "LuaJIT 2.1.0-beta3",
version_num = 20100
nvim-0.10.x (HEAD version as of today, an example):
version = "LuaJIT 2.1.1693268511",
version_num = 201991 parent 0dbe561 commit a56bf00
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments