diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | scripts/get_vimkw.py | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -21,7 +21,8 @@ apidocs: epydoc check: @$(PYTHON) scripts/check_sources.py -i apidocs -i pygments/lexers/_mapping.py \ - -i docs/build -i pygments/formatters/_mapping.py -i pygments/unistring.py + -i docs/build -i pygments/formatters/_mapping.py -i pygments/unistring.py \ + -i pygments/lexers/_vimbuiltins.py clean: clean-pyc rm -f codetags.html 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): |