Back to index

python3.2  3.2.2
Variables
vim_syntax Namespace Reference

Variables

string comment_header
string statement_header
string statement_footer
tuple looping = ('for', 'while')
tuple conditionals = ('if', 'elif', 'else')
tuple boolean_ops = ('and', 'in', 'is', 'not', 'or')
tuple import_stmts = ('import', 'from')
tuple object_defs = ('def', 'class')
tuple exception_names
tuple builtin_names

Variable Documentation

tuple vim_syntax.boolean_ops = ('and', 'in', 'is', 'not', 'or')

Definition at line 32 of file vim_syntax.py.

Initial value:
00001 sorted(builtin for builtin in dir(builtins)
00002                             if builtin not in dir(exceptions))

Definition at line 43 of file vim_syntax.py.

Initial value:
00001 '''" Auto-generated Vim syntax file for Python (%s: r%s).
00002 "
00003 " To use: copy or symlink to ~/.vim/syntax/python.vim'''

Definition at line 11 of file vim_syntax.py.

tuple vim_syntax.conditionals = ('if', 'elif', 'else')

Definition at line 31 of file vim_syntax.py.

Initial value:
00001 sorted(exc for exc in dir(exceptions)
00002                                 if not exc.startswith('__'))

Definition at line 36 of file vim_syntax.py.

tuple vim_syntax.import_stmts = ('import', 'from')

Definition at line 33 of file vim_syntax.py.

tuple vim_syntax.looping = ('for', 'while')

Definition at line 30 of file vim_syntax.py.

tuple vim_syntax.object_defs = ('def', 'class')

Definition at line 34 of file vim_syntax.py.

Initial value:
00001 '''
00002 " Uncomment the 'minlines' statement line and comment out the 'maxlines'
00003 " statement line; changes behaviour to look at least 2000 lines previously for
00004 " syntax matches instead of at most 200 lines
00005 syn sync match pythonSync grouphere NONE "):$"
00006 syn sync maxlines=200
00007 "syn sync minlines=2000
00008 
00009 let b:current_syntax = "python"'''

Definition at line 20 of file vim_syntax.py.

Initial value:
00001 """
00002 if exists("b:current_syntax")
00003   finish
00004 endif"""

Definition at line 15 of file vim_syntax.py.