Skip to content

Commit

Permalink
Support more builtin exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Coacher committed May 27, 2022
1 parent 8461502 commit 066a51d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions syntax/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -289,17 +289,17 @@ if g:python_syntax_prefer_python2
else
syn keyword pythonBuiltinException BlockingIOError BrokenPipeError
syn keyword pythonBuiltinException ChildProcessError
syn keyword pythonBuiltinException ConnectionAbortedError
syn keyword pythonBuiltinException ConnectionError
syn keyword pythonBuiltinException ConnectionAbortedError ConnectionError
syn keyword pythonBuiltinException ConnectionRefusedError
syn keyword pythonBuiltinException ConnectionResetError
syn keyword pythonBuiltinException FileExistsError FileNotFoundError
syn keyword pythonBuiltinException InterruptedError IsADirectoryError
syn keyword pythonBuiltinException NotADirectoryError PermissionError
syn keyword pythonBuiltinException ProcessLookupError RecursionError
syn keyword pythonBuiltinException StopAsyncIteration TimeoutError
syn keyword pythonBuiltinException ModuleNotFoundError NotADirectoryError
syn keyword pythonBuiltinException PermissionError ProcessLookupError
syn keyword pythonBuiltinException RecursionError StopAsyncIteration
syn keyword pythonBuiltinException TimeoutError

syn keyword pythonBuiltinException ResourceWarning
syn keyword pythonBuiltinException EncodingWarning ResourceWarning
endif


Expand Down

0 comments on commit 066a51d

Please sign in to comment.