2
3
réplica de https://github.com/sammy-ette/Hilbish sincronizado 2025-08-10 02:52:03 +00:00

Comparar comentimentos

..

Não há cometimentos em comum. "52a58b14c3978ef23e577ed1f245e8b42f6a0a17" e "0a01ed862ca8ccd097587cae3d756ca2cebc3b8c" têm históricos completamente diferentes.

3 ficheiros modificados com 14 adições e 15 eliminações

Ver ficheiro

@ -1,7 +1,8 @@
A bit after creation, we have the outside nature. Little plants, seeds, A bit after creation, we have the outside nature. Little plants, seeds,
growing to their final phase: a full plant. A lot of Hilbish itself is growing to their final phase: a full plant. A lot of Hilbish itself is
written in Go, but there are parts made in Lua, being most builtins written in Go, but there are parts made in Lua, being the `doc` command,
(`doc`, `cd`, cdr), completions, and other things. command not executable/found hooks to print a message in the shell,
and other things.
Hilbish's Lua core module is called `nature`. It's handled after everything Hilbish's Lua core module is called `nature`. It's handled after everything
on the Go side initializes, which is what that first sentence was from. on the Go side initializes, which is what that first sentence was from.

Ver ficheiro

@ -58,7 +58,6 @@ commander.register('doc', function(args)
local propstr = '' local propstr = ''
local modDesc = '' local modDesc = ''
local modmt = getmetatable(require(mod)) local modmt = getmetatable(require(mod))
if modmt then
modDesc = modmt.__doc modDesc = modmt.__doc
if modmt.__docProp then if modmt.__docProp then
-- not all modules have docs for properties -- not all modules have docs for properties
@ -71,7 +70,6 @@ commander.register('doc', function(args)
end end
desc = string.format(modDocFormat, modDesc, propstr) desc = string.format(modDocFormat, modDesc, propstr)
end end
end
print(desc .. formattedFuncs) print(desc .. formattedFuncs)
f:close() f:close()

Ver ficheiro

@ -2,7 +2,7 @@
local _ = require 'succulent' -- Function additions local _ = require 'succulent' -- Function additions
package.path = package.path .. ';' .. hilbish.dataDir .. '/?/init.lua' package.path = package.path .. ';' .. hilbish.dataDir .. '/?/init.lua'
.. ';' .. hilbish.dataDir .. '/?/?.lua' .. ";" .. hilbish.dataDir .. '/?.lua' .. ';' .. hilbish.dataDir .. '/?/?.lua'
require 'nature.commands' require 'nature.commands'
require 'nature.completions' require 'nature.completions'