Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/gen_documentation.tl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if not has_ltreesitter then
return
end

local has_teal_parser <const>, teal_parser <const> = pcall(ts.require, "teal", nil)
local has_teal_parser <const>, teal_parser <const> = pcall(ts.require, "parser/teal", "teal")
if not has_teal_parser then
log.warn("docgen requires tree-sitter-teal, which ltreesitter could not find:\n", teal_parser as string)
return
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint.tl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local function lint()
return
end

local has_teal_parser <const>, teal_parser <const> = pcall(ts.require, "teal", nil)
local has_teal_parser <const>, teal_parser <const> = pcall(ts.require, "parser/teal", "teal")
if not has_teal_parser then
warn("lint requires tree-sitter-teal, which ltreesitter could not find:\n", teal_parser as string)
return
Expand Down
Loading