diff options
| author | Georg Brandl <georg@python.org> | 2007-05-29 09:04:13 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-05-29 09:04:13 +0200 |
| commit | d2f6daff98e94ba6b9ae71c5393e41e587da6737 (patch) | |
| tree | db0ac01a74766f7f43c0effc2416dc5800f5f4cc /scripts | |
| parent | 7e5bfc94c1593107351705212b1958717a93c2aa (diff) | |
| download | pygments-git-d2f6daff98e94ba6b9ae71c5393e41e587da6737.tar.gz | |
[svn] make check.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/get_vimkw.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/get_vimkw.py b/scripts/get_vimkw.py index a8e38c26..1ecf7148 100644 --- a/scripts/get_vimkw.py +++ b/scripts/get_vimkw.py @@ -1,7 +1,8 @@ import re from pprint import pprint -r_line = re.compile(r"^(syn keyword vimCommand contained|syn keyword vimOption contained|syn keyword vimAutoEvent contained)\s+(.*)") +r_line = re.compile(r"^(syn keyword vimCommand contained|syn keyword vimOption " + r"contained|syn keyword vimAutoEvent contained)\s+(.*)") r_item = re.compile(r"(\w+)(?:\[(\w+)\])?") def getkw(input, output): |
