We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 911f949 + fc1b588 commit be468faCopy full SHA for be468fa
docs/dev/Lua API.rst
@@ -7468,6 +7468,15 @@ Importing scripts
7468
7469
--@ module = true
7470
7471
+ In order to be recognized, this line **must** begin with ``--@`` with no
7472
+ whitespace characters before it::
7473
+
7474
+ --@ module = true OK
7475
+ --@module = true OK
7476
+ -- @module = true NOT OK (no --@ found due to space after --)
7477
+ --@module = true NOT OK (leading space, --@ is not at the beginning of the line)
7478
+ ---@module = true NOT OK (leading dash, --@ is not at the beginning of the line)
7479
7480
2. Include a check for ``dfhack_flags.module``, and avoid running any code
7481
that has side-effects if this flag is true. For instance::
7482
0 commit comments