Commit graph

10 commits

Author SHA1 Message Date
Rodolphe Breard
a4c03b38a5 Add the possibility to turn off the automatic serial update.
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.
2015-11-14 19:05:12 +01:00
Rodolphe Breard
d54d2f0991 Add a badge with the license.
Using such a badge allows the user to quickly identify the license.
2015-11-09 11:28:56 +01:00
Rodolphe Breard
bea1fc4b9a Load functions only when needed.
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.
2015-10-18 20:31:17 +02:00
Rodolphe Breard
c648319928 Remove superfluous "author" line in the license headers.
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.
2015-10-18 20:16:53 +02:00
Rodolphe Breard
9799c16153 Add serial auto-update on write.
It is easy to forget to update the serial number. Therefore, it is now
updated each time the file is saved. Just like what emacs natively do...
:-)
2015-10-18 20:01:49 +02:00
Rodolphe Breard
711b8d98d6 Removing trailing spaces. 2015-10-18 19:32:38 +02:00
Rodolphe Breard
90e6eb1bd8 Accept an unlimited number of digits for the revision id.
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.
2015-10-18 19:27:51 +02:00
Rodolphe Breard
c11e41624b Replace the function call with a user command.
A user command is much more user-friendly than a function.
2015-10-18 19:23:09 +02:00
Rodolphe Breard
0c5a670463 Add a "why?" section in the readme.
Knowing why this plugin has been written may help users to use it
instead of the old one.
2015-10-18 01:17:31 +02:00
Rodolphe Breard
4d316538e8 Initial commit. 2015-10-18 00:59:31 +02:00