1. Pierre-Yves David
  2. vim-pep8colors

Commits

Pierre-Yves David  committed 9b837eb

syntax: add KeyboardInterrupt to Error

  • Participants
  • Parent commits 7babffe
  • Branches default

Comments (0)

Files changed (1)

File syntax/python.vim

View file
   syn keyword pythonException	UnicodeEncodeError UnicodeDecodeError
   syn keyword pythonException	UnicodeTranslateError
   syn keyword pythonException	UserWarning ValueError Warning WindowsError
-  syn keyword pythonException	ZeroDivisionError
+  syn keyword pythonException	ZeroDivisionError KeyboardInterrupt
   syn match pythonCustomException	"\<[a-zA-Z_][a-zA-Z0-9_]*\(Error\|Exception\)\>"
 endif