Files
MoonVeil-Docs/content/docs/macros/MV_LINE.md
2025-10-17 03:22:30 -06:00

551 B

weight, title, description, icon, date, lastmod
weight title description icon date lastmod
100 MV_LINE Get current line code_blocks 2025-05-01T18:47:58-05:00 2025-05-01T18:47:58-05:00

declare MV_LINE: number

will be replaced with a number constant representing the current line.

{{% alert context="info" text="Note: LPH_LINE is an available alias." /%}}

Valid Usage

local a = MV_LINE
print(a, MV_LINE)

turns into:

print(1,2)

{{% alert context="info" text="Note: the 'a' local got folded yet retains the original line number" /%}}