summaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-29 21:18:24 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-29 21:18:24 +0000
commite2f98b95c8071f772695602cd4f714dc588eb8e7 (patch)
tree28442f952f7e5258e2addd8871a4a2930e768c0a /runtime/syntax/python.vim
parent86ca6e3b8c9c5d909421eb5abc2d81e02d402b49 (diff)
downloadvim-git-e2f98b95c8071f772695602cd4f714dc588eb8e7.tar.gz
updated for version 7.0c03v7.0c03
Diffstat (limited to 'runtime/syntax/python.vim')
-rw-r--r--runtime/syntax/python.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim
index a73dfa73e..52873e977 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