Parcourir la source

Added StandardError to list of highlighted exceptions

Alois Mahdal il y a 11 ans
Parent
révision
90070554c7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      dotfiles/vim/syntax/python.vim

+ 1
- 0
dotfiles/vim/syntax/python.vim Voir le fichier

@@ -422,6 +422,7 @@ if s:Enabled("g:python_highlight_exceptions")
422 422
 
423 423
     syn keyword pythonExClass	ResourceWarning
424 424
   endif
425
+  syn keyword pythonExClass	StandardError
425 426
   syn keyword pythonExClass	BaseException
426 427
   syn keyword pythonExClass	Exception ArithmeticError
427 428
   syn keyword pythonExClass	LookupError EnvironmentError