Remove reference to lua import() (#5108)

This commit is contained in:
Mm2PL 2024-01-19 21:31:19 +00:00 committed by GitHub
parent ba94e3879b
commit 36931fac62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@
- Dev: Moved all `.clang-format` files to the root directory. (#5037) - Dev: Moved all `.clang-format` files to the root directory. (#5037)
- Dev: Load less message history upon reconnects. (#5001, #5018) - Dev: Load less message history upon reconnects. (#5001, #5018)
- Dev: Removed the `NullablePtr` class. (#5091) - Dev: Removed the `NullablePtr` class. (#5091)
- Dev: BREAKING: Replace custom `import()` with normal Lua `require()`. (#5014) - Dev: BREAKING: Replace custom `import()` with normal Lua `require()`. (#5014, #5108)
- Dev: Fixed most compiler warnings. (#5028) - Dev: Fixed most compiler warnings. (#5028)
- Dev: Added the ability to show `ChannelView`s without a `Split`. (#4747) - Dev: Added the ability to show `ChannelView`s without a `Split`. (#4747)
- Dev: Refactor Args to be less of a singleton. (#5041) - Dev: Refactor Args to be less of a singleton. (#5041)

View file

@ -17,7 +17,7 @@ Chatterino Plugins dir/
└── info.json └── info.json
``` ```
`init.lua` will be the file loaded when the plugin is enabled. You may load other files using [`import` global function](#importfilename=). `init.lua` will be the file loaded when the plugin is enabled. You may load other files using [`require` global function](#requiremodname).
`info.json` contains metadata about the plugin, like its name, description, `info.json` contains metadata about the plugin, like its name, description,
authors, homepage link, tags, version, license name. The version field **must** authors, homepage link, tags, version, license name. The version field **must**