Skip to content

Commit 5543529

Browse files
authored
enh(lua) add 'pluto' as an alias (#4110)
[Pluto](https://pluto-lang.org/) is a fork of Lua that uses the .pluto extension.
1 parent 9a6f65a commit 5543529

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Core Grammars:
1515
- enh(erlang) OTP25/27 maybe statement [nixxquality][]
1616
- enh(dart) Support digit-separators in number literals [Sam Rawlins][]
1717
- enh(csharp) add Contextual keywords `file`, `args`, `dynamic`, `record`, `required` and `scoped` [Alvin Joy][]
18+
- enh(lua) add 'pluto' as an alias [Sainan]
1819
- enh(bash) add reserved keywords `time` and `coproc` [Álvaro Mondéjar][]
1920
- fix(c) - Fixed hex numbers with decimals [Dxuian]
2021
- fix(ruby) - fix `|=` operator false positives (as block arguments) [Aboobacker MK]
@@ -47,6 +48,7 @@ CONTRIBUTORS
4748
[Dxuian]:https://github.com/Dxuian
4849
[Aboobacker MK]: https://github.com/tachyons
4950
[Imken]: https://github.com/immccn123
51+
[Sainan]: https://github.com/Sainan
5052
[Osmocom]: https://github.com/osmocom
5153
[Álvaro Mondéjar]: https://github.com/mondeja
5254

SUPPORTED_LANGUAGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The table below shows the full list of languages (and corresponding classes/alia
130130
| LiveCode Server | livecodeserver | |
131131
| LiveScript | livescript, ls | |
132132
| LookML | lookml | [highlightjs-lookml](https://github.com/spectacles-ci/highlightjs-lookml) |
133-
| Lua | lua | |
133+
| Lua | lua, pluto | |
134134
| Luau | luau | [highlightjs-luau](https://github.com/highlightjs/highlightjs-luau) |
135135
| Macaulay2 | macaulay2 | [highlightjs-macaulay2](https://github.com/d-torrance/highlightjs-macaulay2) |
136136
| Makefile | makefile, mk, mak, make | |

src/languages/lua.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default function(hljs) {
2727
];
2828
return {
2929
name: 'Lua',
30+
aliases: ['pluto'],
3031
keywords: {
3132
$pattern: hljs.UNDERSCORE_IDENT_RE,
3233
literal: "true false nil",

0 commit comments

Comments
 (0)