summaryrefslogtreecommitdiff
path: root/scripts/get_vimkw.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get_vimkw.py')
-rw-r--r--scripts/get_vimkw.py13
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")