Skip to content

Commit

Permalink
v0.21
Browse files Browse the repository at this point in the history
  - Add 'extra_vim_options' to be able to append options to the defaults
  • Loading branch information
rwstauner committed Sep 7, 2012
1 parent 84f5cae commit c68e50d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -2,6 +2,8 @@ Revision history for Text-VimColor


{{$NEXT}} {{$NEXT}}


0.21 2012-09-07T00:02:48Z

- Add 'extra_vim_options' to be able to append options to the defaults - Add 'extra_vim_options' to be able to append options to the defaults


0.20 2012-08-11T02:05:18Z 0.20 2012-08-11T02:05:18Z
Expand Down
23 changes: 13 additions & 10 deletions README.pod
@@ -1,3 +1,5 @@
=pod

=encoding utf-8 =encoding utf-8


=for :stopwords Geoff Richards Randy Stauner ACKNOWLEDGEMENTS ansi html xml DOCTYPE XHTML =for :stopwords Geoff Richards Randy Stauner ACKNOWLEDGEMENTS ansi html xml DOCTYPE XHTML
Expand All @@ -11,7 +13,7 @@ Text::VimColor - Syntax highlight text using Vim


=head1 VERSION =head1 VERSION


version 0.20 version 0.21


=head1 SYNOPSIS =head1 SYNOPSIS


Expand Down Expand Up @@ -178,7 +180,16 @@ The default is C<vim>.


A reference to an array of options to pass to Vim. The default options are: A reference to an array of options to pass to Vim. The default options are:


qw( -RXZ -i NONE -u NONE -N -n ), "+set nomodeline" [qw( -RXZ -i NONE -u NONE -N -n ), "+set nomodeline"]

You can overwrite the default options by setting this.
To merely append additional options to the defaults
use C<extra_vim_options>.

=item extra_vim_options

A reference to an array of additional options to pass to Vim.
These are appended to the default C<vim_options>.


=item vim_let =item vim_let


Expand Down Expand Up @@ -477,18 +488,10 @@ option for 'set number'


=item * =item *


extra_vim_options (additional instead of overwriting defaults)

=item *

make global vars available through methods make global vars available through methods


=item * =item *


test constructor and then simplify it: copy default values into it

=item *

list available syntaxes? (see L<IkiWiki::Plugin::syntax::Vim>) list available syntaxes? (see L<IkiWiki::Plugin::syntax::Vim>)


=back =back
Expand Down

0 comments on commit c68e50d

Please sign in to comment.