git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
78e7e01
)
digraphs: annotate generator reference in vim include
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 22 Mar 2017 23:38:19 +0000
(
00:38
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 23 Mar 2017 02:25:58 +0000
(
03:25
+0100)
tools/mkdigraphs-vim
patch
|
blob
|
history
diff --git
a/tools/mkdigraphs-vim
b/tools/mkdigraphs-vim
index 2137889aaceebe8fbd50ec411cac4e42ffbbce4d..ceea4b7a4aa0c102e978ac64e920bf809986ae67 100755
(executable)
--- a/
tools/mkdigraphs-vim
+++ b/
tools/mkdigraphs-vim
@@
-14,6
+14,7
@@
VIM='vim -RXZ -i NONE -u NONE -N -n'
$VIM -e -c'echo version' -cdigraphs -cq | perl -CSD -nE '
if ($. == 1) { # head
say "# digraphs list from vim version ", m/(\d+)\s*\z/;
+ say "# automatically generated by '"$0"'";
say "+{";
} else { # body
while (/\G(\S\S) (.[^ ]*) +([0-9]+)\s+/g) {