aboutsummaryrefslogtreecommitdiffstats
path: root/library/ace/mode-gitignore.js
diff options
context:
space:
mode:
authorhubzilla <git@macgirvin.com>2016-06-10 20:03:08 +1000
committerGitHub <noreply@github.com>2016-06-10 20:03:08 +1000
commitbeb55235c68feadabe3b647ebe14ae2cab94a2f8 (patch)
tree8a6d552f8658dd64e361e462b78734138624955b /library/ace/mode-gitignore.js
parentcf415a4312f3a926c3b080fb49042752441f23b4 (diff)
parent7a242f829fac2b434726c2bbdca5dbf658404c76 (diff)
downloadvolse-hubzilla-beb55235c68feadabe3b647ebe14ae2cab94a2f8.tar.gz
volse-hubzilla-beb55235c68feadabe3b647ebe14ae2cab94a2f8.tar.bz2
volse-hubzilla-beb55235c68feadabe3b647ebe14ae2cab94a2f8.zip
Merge pull request #410 from anaqreon/wiki
Wiki module: first iteration
Diffstat (limited to 'library/ace/mode-gitignore.js')
-rw-r--r--library/ace/mode-gitignore.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/ace/mode-gitignore.js b/library/ace/mode-gitignore.js
new file mode 100644
index 000000000..b09cc2ed8
--- /dev/null
+++ b/library/ace/mode-gitignore.js
@@ -0,0 +1 @@
+ace.define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};s.metaData={fileTypes:["gitignore"],name:"Gitignore"},r.inherits(s,i),t.GitignoreHighlightRules=s}),ace.define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gitignore_highlight_rules").GitignoreHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(o.prototype),t.Mode=o}) \ No newline at end of file