GNOME Bugzilla – Bug 343569
Wrong Document Type for *.pm files.
Last modified: 2006-06-01 10:48:40 UTC
When I editing *.pm files (Perl modules) the Document Type is determined as "text". It must be "perl" of course.
Should be fixed for both, stable (data/filetypes.in, v1.19.2.3) and development version (data/filetypes.in, v1.22). To fix it for you: Go to Edit > Preferences > Tab: Filetypes > Window: Filetypes > Line with Label: Perl. There you just add an ':.pm' after the last extension, so that it looks like this: '.pl:.PL:.cgi:.pm'. Now hit 'Apply' and 'Ok' and you are done.