another try
This commit is contained in:
@@ -2,6 +2,7 @@ local VisualElement = require("elements/VisualElement")
|
||||
local sub = string.sub
|
||||
---@cofnigDescription The tree element provides a hierarchical view of nodes that can be expanded and collapsed, with support for selection and scrolling.
|
||||
|
||||
|
||||
--- This is the tree class. It provides a hierarchical view of nodes that can be expanded and collapsed,
|
||||
--- with support for selection and scrolling.
|
||||
---@class Tree : VisualElement
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
local BasaltDoc = {}
|
||||
|
||||
local args = {...}
|
||||
local docsPath = fs.getDir(args[2])
|
||||
local defaultPath = package.path
|
||||
local format = "path;/path/?.lua;/path/?/init.lua;"
|
||||
local main = format:gsub("path", docsPath)
|
||||
package.path = main.."rom/?;"..defaultPath
|
||||
if fs then
|
||||
local args = {...}
|
||||
local docsPath = fs.getDir(args[2])
|
||||
local format = "path;/path/?.lua;/path/?/init.lua;"
|
||||
local main = format:gsub("path", docsPath)
|
||||
package.path = main.."rom/?;"..defaultPath
|
||||
end
|
||||
|
||||
local ok1, classParser = pcall(require, "parsers.classParser")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user