diff options
Diffstat (limited to 'runtime/syntax/python.vim')
-rw-r--r-- | runtime/syntax/python.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim index a73dfa73ee..52873e977c 100644 --- a/runtime/syntax/python.vim +++ b/runtime/syntax/python.vim @@ -47,7 +47,8 @@ syn match pythonFunction "[a-zA-Z_][a-zA-Z0-9_]*" contained syn keyword pythonRepeat for while syn keyword pythonConditional if elif else syn keyword pythonOperator and in is not or -syn keyword pythonPreCondit import from +" AS will be a keyword in Python 3 +syn keyword pythonPreCondit import from as syn match pythonComment "#.*$" contains=pythonTodo syn keyword pythonTodo TODO FIXME XXX contained |