diff --git a/CHANGES.md b/CHANGES.md index 0f2d1d974d..23a8b58d93 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,6 +15,7 @@ Core Grammars: - enh(erlang) OTP25/27 maybe statement [nixxquality][] - enh(dart) Support digit-separators in number literals [Sam Rawlins][] - enh(csharp) add Contextual keywords `file`, `args`, `dynamic`, `record`, `required` and `scoped` [Alvin Joy][] +- enh(bash) add reserved keywords `time` and `coproc` [Álvaro Mondéjar][] - fix(c) - Fixed hex numbers with decimals [Dxuian] - fix(ruby) - fix `|=` operator false positives (as block arguments) [Aboobacker MK] @@ -47,6 +48,7 @@ CONTRIBUTORS [Aboobacker MK]: https://github.com/tachyons [Imken]: https://github.com/immccn123 [Osmocom]: https://github.com/osmocom +[Álvaro Mondéjar]: https://github.com/mondeja ## Version 11.10.0 diff --git a/src/languages/bash.js b/src/languages/bash.js index add137aa48..44f9beba97 100644 --- a/src/languages/bash.js +++ b/src/languages/bash.js @@ -123,6 +123,7 @@ export default function(hljs) { "else", "elif", "fi", + "time", "for", "while", "until", @@ -131,6 +132,7 @@ export default function(hljs) { "done", "case", "esac", + "coproc", "function", "select" ];