Skip to content

Commit 304931e

Browse files
committed
Updare syntax
1 parent ca2235a commit 304931e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Changelog
77
* Update `Pylint` to version 0.27.0;
88
* Update `autopep8` to version 0.8.7;
99
* Fix breakpoint definition;
10+
* Update python syntax
1011

1112
## 2012-09-07 0.6.10
1213
--------------------

syntax/python.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ call pymode#Default('g:pymode_syntax_all', 1)
2121
syn keyword pythonStatement pass raise
2222
syn keyword pythonStatement global assert
2323
syn keyword pythonStatement lambda yield
24-
syn keyword pythonStatement with
24+
syn keyword pythonStatement with as
2525
syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
2626
syn match pythonFunction "[a-zA-Z_][a-zA-Z0-9_]*" display contained
2727
syn keyword pythonRepeat for while
2828
syn keyword pythonConditional if elif else
29-
syn keyword pythonPreCondit import from as
29+
syn keyword pythonInclude import from
3030
syn keyword pythonException try except finally
3131
syn keyword pythonOperator and in is not or
3232

@@ -240,7 +240,7 @@ endif
240240
" =============
241241

242242
hi def link pythonStatement Statement
243-
hi def link pythonPreCondit Statement
243+
hi def link pythonInclude Include
244244
hi def link pythonFunction Function
245245
hi def link pythonConditional Conditional
246246
hi def link pythonRepeat Repeat

0 commit comments

Comments
 (0)