File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1111--- @field job PlenaryJob
1212--- @field json PlenaryJson
1313--- @field log PlenaryLog
14+ --- @field nvim_meta PlenaryNvimMeta
1415--- @field path PlenaryPath
1516--- @field scandir PlenaryScandir
1617--- @field strings PlenaryStrings
Original file line number Diff line number Diff line change 1+ --- @class PlenaryNvimMetaLuaVersion
2+ --- @field jit string
3+ --- @field lua string
4+ --- @field version string
5+
6+ --- @return PlenaryNvimMetaLuaVersion
17local get_lua_version = function ()
28 if jit then
39 return {
@@ -10,9 +16,13 @@ local get_lua_version = function()
1016 error (" NEOROCKS: Unsupported Lua Versions" , _VERSION )
1117end
1218
19+ --- @class PlenaryNvimMeta
20+ --- @field is_headless boolean
21+ --- @field lua_jit PlenaryNvimMetaLuaVersion
22+
1323return {
1424 -- Is run in `--headless` mode.
1525 is_headless = (# vim .api .nvim_list_uis () == 0 ),
1626
1727 lua_jit = get_lua_version (),
18- }
28+ } --[[ @as PlenaryNvimMeta ]]
You can’t perform that action at this time.
0 commit comments