aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/google-code-prettify/lang-lua.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-06-30 13:17:58 -0700
committerMark Otto <[email protected]>2011-06-30 13:17:58 -0700
commit87f9ea00e4477b059453e8014693f621207c75eb (patch)
tree1b80e22a4e0a98f82433f836dbfc0c0f6afc9324 /docs/assets/js/google-code-prettify/lang-lua.js
parent4c2614841e0f1bedbd5b56a7ee2f704276fb32a4 (diff)
downloadbootstrap-87f9ea00e4477b059453e8014693f621207c75eb.tar.xz
bootstrap-87f9ea00e4477b059453e8014693f621207c75eb.zip
updated docs
Diffstat (limited to 'docs/assets/js/google-code-prettify/lang-lua.js')
-rw-r--r--docs/assets/js/google-code-prettify/lang-lua.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/assets/js/google-code-prettify/lang-lua.js b/docs/assets/js/google-code-prettify/lang-lua.js
new file mode 100644
index 000000000..e83a3c469
--- /dev/null
+++ b/docs/assets/js/google-code-prettify/lang-lua.js
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r �\xa0"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\S\s]*?(?:]\1]|$)|[^\n\r]*)/],["str",/^\[(=*)\[[\S\s]*?(?:]\1]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],
+["pln",/^[_a-z]\w*/i],["pun",/^[^\w\t\n\r \xa0][^\w\t\n\r "'+=\xa0-]*/]]),["lua"]);