Skip to content

Commit 5eccc89

Browse files
committed
Allow print to be marked as a keyword instead of a function.
1 parent df7ce10 commit 5eccc89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ call pymode#Default('g:pymode_syntax_all', 1)
3333
syn keyword pythonException try except finally
3434
syn keyword pythonOperator and in is not or
3535

36-
if !pymode#Default("g:pymode_syntax_print_as_function", 0) || g:pymode_syntax_print_as_function
36+
if !pymode#Default("g:pymode_syntax_print_as_function", 0) || !g:pymode_syntax_print_as_function
3737
syn keyword pythonStatement print
3838
endif
3939

0 commit comments

Comments
 (0)