@@ -222,9 +222,51 @@ Default values: ::
222222 " Set default pymode python other options
223223 let g:pymode_options_other = 1
224224
225+
226+ Syntax highlight
227+ ----------------
228+
229+ Default values: ::
230+
225231 " Enable pymode's custom syntax highlighting
226232 let g:pymode_syntax = 1
227233
234+ " Enable all python highlightings
235+ let g:pymode_syntax_all = 1
236+
237+ " Highlight "print" as function
238+ leg g:pymode_syntax_print_as_function = 0
239+
240+ " Highlight indentation errors
241+ leg g:pymode_syntax_indent_errors = g:pymode_syntax_all
242+
243+ " Highlight trailing spaces
244+ leg g:pymode_syntax_space_errors = g:pymode_syntax_all
245+
246+ " Highlight string formatting
247+ leg g:pymode_syntax_string_formatting = g:pymode_syntax_all
248+
249+ " Highlight str.format syntax
250+ leg g:pymode_syntax_string_format = g:pymode_syntax_all
251+
252+ " Highlight string.Template syntax
253+ let g:pymode_syntax_string_templates = g:pymode_syntax_all
254+
255+ " Highlight doc-tests
256+ let g:pymode_syntax_doctests = g:pymode_syntax_all
257+
258+ " Highlight builtin objects (__doc__, self, etc)
259+ let g:pymode_syntax_builtin_objs = g:pymode_syntax_all
260+
261+ " Highlight builtin functions
262+ let g:pymode_syntax_builtin_funcs = g:pymode_syntax_all
263+
264+ " Highlight exceptions
265+ let g:pymode_syntax_highlight_exceptions = g:pymode_syntax_all
266+
267+ " For fast machines
268+ let g:pymode_syntax_slow_sync = 0
269+
228270
229271Default keys
230272============
@@ -329,6 +371,10 @@ Copyright (C) 2011 Kirill Klenov (klen_)
329371 Copyright (c) 2005 Divmod, Inc.
330372 http://www.divmod.com/
331373
374+ **Python syntax for vim **
375+ Copyright (c) 2010 Dmitry Vasiliev
376+ http://www.hlabs.spb.ru/vim/python.vim
377+
332378
333379License
334380=======
0 commit comments