Commits

Daniele Varrazzo committed 576f10b

Consider TRIGGER as keyword, not as datatype.

Comments (0)

Files changed (1)

pygments/lexers/_postgres_builtins.py

     'void', 'opaque',
     ]
 
+# Remove 'trigger' from types
+PSEUDO_TYPES = sorted(set(PSEUDO_TYPES) - set(map(str.lower, KEYWORDS)))
+
 PLPGSQL_KEYWORDS = [
     'ALIAS', 'CONSTANT', 'DIAGNOSTICS', 'ELSIF', 'EXCEPTION', 'EXIT',
     'FOREACH', 'GET', 'LOOP', 'NOTICE', 'OPEN', 'PERFORM', 'QUERY', 'RAISE',