Skip to content

Commit

Permalink
enh(nim) adds func keyword for (#2468)
Browse files Browse the repository at this point in the history
* adds `func` keyword for nim language
  • Loading branch information
adnanyaqoobvirk committed Mar 25, 2020
1 parent 166aa0a commit 0b40e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Expand Up @@ -21,6 +21,7 @@ Parser Engine Changes:

Language Improvements:

- enh(nim) adds `func` keyword (#2468) [Adnan Yaqoob][]
- enh(xml) deprecate ActionScript inside script tags (#2444) [Josh Goebel][]
- fix(javascript) prevent get/set variables conflicting with keywords (#2440) [Josh Goebel][]
- bug(clojure) Now highlights `defn-` properly (#2438) [Josh Goebel][]
Expand Down Expand Up @@ -64,6 +65,7 @@ Developer Tools:
[Taufik Nurrohman]: https://github.com/taufik-nurrohman
[Josh Goebel]: https://github.com/yyyc514
[Sean Williams]: https://github.com/hmmwhatsthisdo
[Adnan Yaqoob]: https://github.com/adnanyaqoobvirk


## Version 9.18.1
Expand Down
2 changes: 1 addition & 1 deletion src/languages/nim.js
Expand Up @@ -13,7 +13,7 @@ export default function(hljs) {
keyword:
'addr and as asm bind block break case cast const continue converter ' +
'discard distinct div do elif else end enum except export finally ' +
'for from generic if import in include interface is isnot iterator ' +
'for from func generic if import in include interface is isnot iterator ' +
'let macro method mixin mod nil not notin object of or out proc ptr ' +
'raise ref return shl shr static template try tuple type using var ' +
'when while with without xor yield',
Expand Down

0 comments on commit 0b40e1c

Please sign in to comment.