Browse Source

'print' now always the function

Dmitry Vasiliev 15 years ago
parent
commit
9c1c35f333
1 changed files with 0 additions and 11 deletions
  1. 0
    11
      python3.0.vim

+ 0
- 11
python3.0.vim View File

@@ -57,9 +57,6 @@
57 57
 "
58 58
 "    For fast machines:
59 59
 "       python_slow_sync
60
-"
61
-"    For "print" builtin as function:
62
-"       python_print_as_function
63 60
 
64 61
 " For version 5.x: Clear all syntax items
65 62
 " For version 6.x: Quit when a syntax file was already loaded
@@ -112,10 +109,6 @@ syn keyword pythonImport	import from as
112 109
 syn keyword pythonException	try except finally
113 110
 syn keyword pythonOperator	and in is not or
114 111
 
115
-if !exists("python_print_as_function") || python_print_as_function == 0
116
-  syn keyword pythonStatement print
117
-endif
118
-
119 112
 " Decorators (new in Python 2.4)
120 113
 syn match   pythonDecorator	"@" display nextgroup=pythonFunction skipwhite
121 114
 
@@ -241,10 +234,6 @@ if exists("python_highlight_builtins") && python_highlight_builtins != 0
241 234
   syn keyword pythonBuiltinFunc	repr reversed round set setattr
242 235
   syn keyword pythonBuiltinFunc	slice sorted staticmethod str sum super tuple
243 236
   syn keyword pythonBuiltinFunc	type vars zip
244
-
245
-  if exists("python_print_as_function") && python_print_as_function != 0
246
-      syn keyword pythonBuiltinFunc	print
247
-  endif
248 237
 endif
249 238
 
250 239
 if exists("python_highlight_exceptions") && python_highlight_exceptions != 0