From 33813e73b82fe841e5162bc6f92142f5ff1d80a0 Mon Sep 17 00:00:00 2001 From: cpunch Date: Sat, 24 May 2025 22:31:35 -0500 Subject: [PATCH] added MV_LINE --- content/docs/macros/MV_LINE.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 content/docs/macros/MV_LINE.md diff --git a/content/docs/macros/MV_LINE.md b/content/docs/macros/MV_LINE.md new file mode 100644 index 0000000..db420ed --- /dev/null +++ b/content/docs/macros/MV_LINE.md @@ -0,0 +1,22 @@ +--- +weight: 100 +title: "MV_LINE" +description: "Get current line" +icon: "code_blocks" +date: "2025-05-01T18:47:58-05:00" +lastmod: "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 + +```lua +local a = MV_LINE +print(a, MV_LINE) +``` +> prints `1 2` \ No newline at end of file