recognize pascal and java syntaxes

This commit is contained in:
Elan Ruusamäe 2012-09-23 14:25:18 +02:00
parent 3295f0bd90
commit 7abbf81733

View file

@ -234,6 +234,8 @@ class Formatter(FormatterBase):
try: try:
syntax = { syntax = {
'ColorizedPython': 'python', 'ColorizedPython': 'python',
'ColorizedPascal': 'pascal',
'ColorizedJava': 'java',
'ColorizedCPlusPlus': 'cpp', 'ColorizedCPlusPlus': 'cpp',
}[code_type] }[code_type]
except KeyError: except KeyError: