mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
feat(ts): include parser ABI version in checkhealth
This commit is contained in:
@@ -229,6 +229,11 @@ int tslua_inspect_lang(lua_State *L)
|
||||
}
|
||||
|
||||
lua_setfield(L, -2, "fields"); // [retval]
|
||||
|
||||
uint32_t lang_version = ts_language_version(lang);
|
||||
lua_pushinteger(L, lang_version); // [retval, version]
|
||||
lua_setfield(L, -2, "_abi_version");
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user