From 1b302f328f3a1db4373948b899b3e1ed6ff51283 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Mon, 23 Nov 2020 23:09:54 +0100 Subject: [PATCH] doc: fix Bash comment highlighting --- doc/highlight.js | 2 +- doc/make/nix.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/highlight.js b/doc/highlight.js index faf8e2748f..b6cad0a868 100644 --- a/doc/highlight.js +++ b/doc/highlight.js @@ -301,7 +301,7 @@ name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/, keyword:"if then else elif fi for while in do done case esac function", literal:"true false", built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp" -},contains:[c,e.SHEBANG(),o,i,e.HASH_COMMENT_MODE,t,a,{className:"",begin:/\\"/ +},contains:[c,e.SHEBANG(),o,i,e.COMMENT("(?