aboutsummaryrefslogtreecommitdiff
path: root/node_modules/highlight.js/lib/languages/bash.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/highlight.js/lib/languages/bash.js')
-rw-r--r--node_modules/highlight.js/lib/languages/bash.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/highlight.js/lib/languages/bash.js b/node_modules/highlight.js/lib/languages/bash.js
index a8bb5d2fb..ab9b11418 100644
--- a/node_modules/highlight.js/lib/languages/bash.js
+++ b/node_modules/highlight.js/lib/languages/bash.js
@@ -26,7 +26,7 @@ module.exports = function(hljs) {
return {
aliases: ['sh', 'zsh'],
- lexemes: /-?[a-z\._]+/,
+ lexemes: /\b-?[a-z\._]+\b/,
keywords: {
keyword:
'if then else elif fi for while in do done case esac function',