diff options
author | Georg Brandl <georg@python.org> | 2014-10-04 22:35:59 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-04 22:35:59 +0200 |
commit | 902cdc5c54b43d4401535b89636c328df695803e (patch) | |
tree | fd3eb8b8826193615ec9955ec2ecc2bf9d55e101 /scripts | |
parent | ef3477c75c03164dbaf2f60202e8dbeaa6c32a9f (diff) | |
download | pygments-902cdc5c54b43d4401535b89636c328df695803e.tar.gz |
move module names from _XXXbuiltins to _XXX_builtins to be consistent
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/get_vimkw.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/get_vimkw.py b/scripts/get_vimkw.py index 7bf2f1c5..fc4d5ec6 100644 --- a/scripts/get_vimkw.py +++ b/scripts/get_vimkw.py @@ -9,7 +9,16 @@ r_line = re.compile(r"^(syn keyword vimCommand contained|syn keyword vimOption " r_item = re.compile(r"(\w+)(?:\[(\w+)\])?") HEADER = '''\ -# This file is autogenerated by scripts/get_vimkw.py +# -*- coding: utf-8 -*- +""" + pygments.lexers._vim_builtins + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + This file is autogenerated by scripts/get_vimkw.py + + :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" # Split up in multiple functions so it's importable by jython, which has a # per-method size limit. @@ -62,4 +71,4 @@ def is_keyword(w, keywords): if __name__ == "__main__": getkw("/usr/share/vim/vim74/syntax/vim.vim", - "pygments/lexers/_vimbuiltins.py") + "pygments/lexers/_vim_builtins.py") |