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
(parent:
5afa7fd
)
digraphs: run vim parser with safety options
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 22 Mar 2017 23:25:35 +0000
(
00:25
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 23 Mar 2017 02:25:58 +0000
(
03:25
+0100)
Preclude customisations and unneeded requirements to avoid possible
side-effects. Options copied from Text::VimColor interface.
tools/mkdigraphs-vim
patch
|
blob
|
history
diff --git
a/tools/mkdigraphs-vim
b/tools/mkdigraphs-vim
index c1dcbe44e45ae09620f9a11262d587a700a33c6c..2137889aaceebe8fbd50ec411cac4e42ffbbce4d 100755
(executable)
--- a/
tools/mkdigraphs-vim
+++ b/
tools/mkdigraphs-vim
@@
-9,7
+9,9
@@
then
exit 64 # EX_USAGE
fi
-vim -e -c'echo version' -cdigraphs -cq | perl -CSD -nE '
+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 "+{";