aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2021-12-16 21:46:13 +0100
committerGitHub <noreply@github.com>2021-12-16 21:46:13 +0100
commitb1757e1c29d07c7958c62427e19e85916670049d (patch)
treef159b36ae8607f2545685e9ef995c86649a07166 /runtime/syntax/python.vim
parent80210c189f2abb668614fc6d98ac9f51433d4c47 (diff)
downloadrneovim-b1757e1c29d07c7958c62427e19e85916670049d.tar.gz
rneovim-b1757e1c29d07c7958c62427e19e85916670049d.tar.bz2
rneovim-b1757e1c29d07c7958c62427e19e85916670049d.zip
vim-patch:0e6adf8a29d5 (#16682)
Update runtime files https://github.com/vim/vim/commit/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471
Diffstat (limited to 'runtime/syntax/python.vim')
-rw-r--r--runtime/syntax/python.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim
index 3427aa06c8..2293163a5b 100644
--- a/runtime/syntax/python.vim
+++ b/runtime/syntax/python.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Python
" Maintainer: Zvezdan Petkovic <zpetkovic@acm.org>
-" Last Change: 2021 Feb 15
+" Last Change: 2021 Dec 10
" Credits: Neil Schemenauer <nas@python.ca>
" Dmitry Vasiliev
"
@@ -77,13 +77,14 @@ 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)'
"
syn keyword pythonStatement False None True
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