Sfoglia il codice sorgente

Added StandardError to list of highlighted exceptions

Alois Mahdal 11 anni fa
parent
commit
90070554c7
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      dotfiles/vim/syntax/python.vim

+ 1
- 0
dotfiles/vim/syntax/python.vim Vedi File

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