~dricottone/vim-python

15158e0f6a4ca1c794a54df8ed3ac0b3d109b388 — Dominic Ricottone 2 years ago 2657210
Merging part of Dec 16, 2021 upstream commit

Minor documentation update.

Added keywords for case and match.
1 files changed, 2 insertions(+), 1 deletions(-)

M syntax/python.vim
M syntax/python.vim => syntax/python.vim +2 -1
@@ 49,7 49,7 @@ endif
"
" The list can be checked using:
"
" python3 -c 'import keyword, pprint; pprint.pprint(keyword.kwlist, compact=True)'
" python3 -c 'import keyword, pprint; pprint.pprint(keyword.kwlist + keyword.softkwlist, compact=True)'
"
" Keywords 'with' and 'as' are new in Python 2.6
" (use 'from __future__ import with_statement' in Python 2.5).


@@ 68,6 68,7 @@ syn keyword pythonStatement	as assert break continue del global
syn keyword pythonStatement	lambda nonlocal pass return with yield
syn keyword pythonStatement	class def nextgroup=pythonFunction skipwhite
syn keyword pythonConditional	elif else if
syn keyword pythonConditional	case match
syn keyword pythonRepeat	for while
syn keyword pythonOperator	and in is not or
syn keyword pythonException	except finally raise try