Skip to content

Commit 1f1a76a

Browse files
authored
Merge branch 'main' into fix/4091
2 parents c726e93 + 4af42d1 commit 1f1a76a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Core Grammars:
4040
- fix(nix) don't mix escapes for `"` and `''` strings [h7x4][]
4141
- fix(swift) - Fixed syntax highlighting for class func/var declarations [guuido]
4242
- fix(yaml) - Fixed wrong escaping behavior in single quoted strings [guuido]
43+
- enh(nim) - Add `concept` and `defer` to list of Nim keywords [Jake Leahy]
4344
- fix(dart) - Added highlighting for class and function names [guuido]
4445

4546
New Grammars:
@@ -84,6 +85,7 @@ CONTRIBUTORS
8485
[Somya]: https://github.com/somya-05
8586
[guuido]: https://github.com/guuido
8687
[clsource]: https://github.com/clsource
88+
[Jake Leahy]: https://github.com/ire4ever1190
8789

8890

8991
## Version 11.10.0

SUPPORTED_LANGUAGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ The table below shows the full list of languages (and corresponding classes/alia
191191
| Q | k, kdb | |
192192
| QML | qml | |
193193
| R | r | |
194+
| Raku | raku, perl6, p6, pm6, rakumod | [highlightjs-raku](https://github.com/highlightjs/highlightjs-raku) |
195+
| RakuDoc | pod6, rakudoc | [highlightjs-raku](https://github.com/highlightjs/highlightjs-raku) |
196+
| RakuQuoting | rakuquoting | [highlightjs-raku](https://github.com/highlightjs/highlightjs-raku) |
197+
| RakuRegexe | rakuregexe | [highlightjs-raku](https://github.com/highlightjs/highlightjs-raku) |
194198
| Razor CSHTML | cshtml, razor, razor-cshtml | [highlightjs-cshtml-razor](https://github.com/highlightjs/highlightjs-cshtml-razor) |
195199
| ReasonML | reasonml, re | |
196200
| Rebol & Red | redbol, rebol, red, red-system | [highlightjs-redbol](https://github.com/oldes/highlightjs-redbol) |

src/languages/nim.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,11 @@ export default function(hljs) {
6464
"break",
6565
"case",
6666
"cast",
67+
"concept",
6768
"const",
6869
"continue",
6970
"converter",
71+
"defer",
7072
"discard",
7173
"distinct",
7274
"div",

0 commit comments

Comments
 (0)