Quellcode durchsuchen

Added StandardError to list of highlighted exceptions

Alois Mahdal vor 11 Jahren
Ursprung
Commit
90070554c7
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1
    0
      dotfiles/vim/syntax/python.vim

+ 1
- 0
dotfiles/vim/syntax/python.vim Datei anzeigen

@@ -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