mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 03:00:30 +00:00
Remove <!-- -->s in usages
We fixed the bug in illuaminate, so this should be redundant now.
This commit is contained in:
parent
24af36743d
commit
511eea39a1
@ -46,7 +46,7 @@ end
|
||||
-- @tparam string text The input string to complete.
|
||||
-- @tparam[opt] boolean add_space Whether to add a space after the completed name.
|
||||
-- @treturn { string... } A list of suffixes of matching peripherals.
|
||||
-- @usage <!-- -->
|
||||
-- @usage
|
||||
-- local completion = require "cc.completion"
|
||||
-- read(nil, nil, completion.peripheral)
|
||||
local function peripheral_(text, add_space)
|
||||
@ -62,7 +62,7 @@ local sides = redstone.getSides()
|
||||
-- @tparam string text The input string to complete.
|
||||
-- @tparam[opt] boolean add_space Whether to add a space after the completed side.
|
||||
-- @treturn { string... } A list of suffixes of matching sides.
|
||||
-- @usage <!-- -->
|
||||
-- @usage
|
||||
-- local completion = require "cc.completion"
|
||||
-- read(nil, nil, completion.side)
|
||||
local function side(text, add_space)
|
||||
@ -76,7 +76,7 @@ end
|
||||
-- @tparam string text The input string to complete.
|
||||
-- @tparam[opt] boolean add_space Whether to add a space after the completed settings.
|
||||
-- @treturn { string... } A list of suffixes of matching settings.
|
||||
-- @usage <!-- -->
|
||||
-- @usage
|
||||
-- local completion = require "cc.completion"
|
||||
-- read(nil, nil, completion.setting)
|
||||
local function setting(text, add_space)
|
||||
@ -92,7 +92,7 @@ local command_list
|
||||
-- @tparam string text The input string to complete.
|
||||
-- @tparam[opt] boolean add_space Whether to add a space after the completed command.
|
||||
-- @treturn { string... } A list of suffixes of matching commands.
|
||||
-- @usage <!-- -->
|
||||
-- @usage
|
||||
-- local completion = require "cc.completion"
|
||||
-- read(nil, nil, completion.command)
|
||||
local function command(text, add_space)
|
||||
|
@ -104,7 +104,7 @@ end
|
||||
--
|
||||
-- @tparam Doc|string ... The documents to concatenate.
|
||||
-- @treturn Doc The concatenated documents.
|
||||
-- @usage <!-- -->
|
||||
-- @usage
|
||||
-- local pretty = require "cc.pretty"
|
||||
-- local doc1, doc2 = pretty.text("doc1"), pretty.text("doc2")
|
||||
-- print(pretty.concat(doc1, " - ", doc2))
|
||||
@ -141,7 +141,7 @@ Doc.__concat = concat --- @local
|
||||
-- @tparam number depth The number of spaces with which the document should be indented.
|
||||
-- @tparam Doc doc The document to indent.
|
||||
-- @treturn Doc The nested document.
|
||||
-- @usage <!-- -->
|
||||
-- @usage
|
||||
-- local pretty = require "cc.pretty"
|
||||
-- print(pretty.nest(2, pretty.text("foo\nbar")))
|
||||
local function nest(depth, doc)
|
||||
|
Loading…
Reference in New Issue
Block a user