add tw=0 at the very end of the zone file
authorHeiko Schlittermann (JUMPER) <hs@schlittermann.de>
Tue, 03 Feb 2015 23:10:38 +0100
changeset 94 8014e5fee219
parent 93 252459bd8a45
child 95 da5ca0b73fda
add tw=0 at the very end of the zone file
lib/DNS/Vi.pm
--- a/lib/DNS/Vi.pm	Tue Feb 03 23:10:24 2015 +0100
+++ b/lib/DNS/Vi.pm	Tue Feb 03 23:10:38 2015 +0100
@@ -214,6 +214,7 @@
     # first make a backup copy
     my $tmp = File::Temp->new();
     $tmp->print(nice @zone);
+    $tmp->say('; vim:tw=0:');
     $tmp->flush();
 
     system $arg{-editor} => $tmp->filename;