Commit graph

7 commits

Author SHA1 Message Date
Rodolphe Breard
317389ec31 Add the support for multiple formats.
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.
2015-11-15 00:02:46 +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
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
4d316538e8 Initial commit. 2015-10-18 00:59:31 +02:00