The README is not a sufficient enough source of information. It is
easier for vim users to access the documentation through vim itself
using the standard vim documentation.
Some people uses the current timestamp for the DNS serial number. The
current implementation detects timestamps between September 9 2001 and
March 17 2030. Implementing it has reduced the date based serial
detection to a range between 1900 and 2999, however it should not be a
problem at all because DNS didn't existed before 1900 and, if it still
exists in 3000, there is literally almost 1000 years to fix the problem.
Some people does not use the common YYYYMMDDXX format and/or does not
want to use the "; serial" comment right after the serial number. This
commit allow multiple formats to be defined, hense more users can use
the plugin. A huge consequence of this is that user can also define
additional custom formats depending on their needs.
Some users may want to explicitly update the DNS serial number. Instead
of forcing them to update on each write, a new configuration option is
used so they can chose turn it off.
Even if this plugin is small, DNS zone editing may not be very frequent.
Therefore, there is no point defining those functions every time vim
start. Moving them to the autoload directory solve this problem.
These lines were added automatically and are not needed. They are not in
the boilerplate notice given in the Apache license and therefore can be
safely removed.
Having exactly two digits is very common but also restrictive. Hence, it
is now required to have at least one digit. However, the new serial will
be on at least two digits.