summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-05-09 23:40:10 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-05-09 23:40:10 +0200
commit42695b54153bcee27d2d66bd9d50bcced30d3ec1 (patch)
treefce29d6140382896af6fb1788461c6c720585f5a /application
parent700e5e08401c171177e368cb46e54b805f49b816 (diff)
Change description for "text" in lexer list
Pygments calls it "Text only", but users are more likely to search for "plain" than "only" so won't find it in the dropdown. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/models/mfile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/models/mfile.php b/application/models/mfile.php
index c2b423dbe..0dd8d7b1e 100644
--- a/application/models/mfile.php
+++ b/application/models/mfile.php
@@ -231,6 +231,7 @@ class Mfile extends CI_Model {
$last_desc = $desc;
$lexers[$name] = $desc;
}
+ $lexers["text"] = "Plain text";
$this->memcachelibrary->set('lexers', $lexers, 1800);
}