#5952 Add Perl to the fpaste.org language choice list
Closed: Fixed Opened by tibbs.

Modernpaste allows configuration of the list of languages which appears in the dropdown when creating a new paste. The default list is somewhat bizarre and Fedora extends that list already in a way that's, well, equally bizarre. In any case, Perl is missing from the list. This patch and an ansible run would fix it up, though of course I'm sure there are plenty of other languages that someone might want to add to that list, but Perl is the only thing someone has asked for. (Modernpaste supports anything that codemirror supports, which is a lot of stuff.)

diff --git a/roles/modernpaste/templates/config.py b/roles/modernpaste/templates/config.py
index e1a3a8f..088b734 100644
--- a/roles/modernpaste/templates/config.py
+++ b/roles/modernpaste/templates/config.py
@@ -91,6 +91,7 @@ LANGUAGES = [
     'jinja2',
     'markdown',
     'octave',
+    'perl',
     'php',
     'python',
     'rpm',

I edited the languages and added perl.

Feel free to re-open or open a new ticket if there's others you would like to add.

:pear:

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata