Skip to content

Commit 6f24f96

Browse files
doc(README): Add default-lua-version.lua to plugin structure
1 parent 0e78a5c commit 6f24f96

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,16 @@ Addon developers should use an addon file structure like this:
4141

4242
```sh
4343
.
44-
├── [addon name]-[version]-[revision].rockspec # required
44+
├── .luarocks # required
45+
│ └── default-lua-version.lua # set to 'return "5.5"'
4546
├── library/ # optional
46-
│ ├── more-files.lua
47+
│ ├── definition-files.lua
48+
│ └── ...
49+
├── plugin/ # optional
50+
│ ├── runtime-files.lua
4751
│ └── ...
4852
├── plugin.lua # optional
49-
└── plugin/ # optional
50-
├── more-files.lua
51-
└── ...
53+
└── [addon name]-[version]-[revision].rockspec # required
5254
```
5355

5456
See the [Creating an Addon](https://luals.github.io/wiki/addons/#creating-an-addon) section for more information on the individual components.

0 commit comments

Comments
 (0)