aboutsummaryrefslogtreecommitdiffstats
path: root/library/ace/mode-gitignore.js
diff options
context:
space:
mode:
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