Skip to content

Commit 0db8f8c

Browse files
committed
Add vim modeline at end of every file without one
The settings in the modeline do the following: * Highlight this file as Perl6 * Expand tabs into 4 spaces This is helpful for vim users for highlighting an atypical file format and creates formatting consistency with regards to tabs and spacing.
1 parent 2212ab2 commit 0db8f8c

File tree

172 files changed

+310
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+310
-34
lines changed

doc/404.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@
1212
</p>
1313
1414
=end Html
15+
16+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/HomePage.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,5 @@ Documentation for the different but related <a href="https://www.perl.org/">Perl
5959
can be found on the <a href="http://perldoc.perl.org/">Perl 5 documentation website</a>.
6060
</p>
6161
=end Html
62+
63+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-nutshell.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,4 +1755,4 @@ be better than losing the information about a real need.
17551755
17561756
=end comments
17571757

1758-
# vim: expandtab shiftwidth=4 ft=perl6
1758+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-perlfunc.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,3 +1878,5 @@ This synonym for C<tr///> is gone. For functionality, see the entry for
18781878
C<tr///>.
18791879
18801880
=end pod
1881+
1882+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-perlop.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,3 +345,5 @@ boolean or is C<?|>.
345345
Left shift and right shift are C<< +< >> and C<< +> >>.
346346
347347
=end pod
348+
349+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-perlsyn.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,5 @@ perl6, you may need to specify the location of C<Pod::To::Text>.)
184184
Details on Perl 6 style pod is at L<https://design.perl6.org/S26.html>.
185185
186186
=end pod
187+
188+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-perlvar.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,3 +543,5 @@ It should go without saying that, as these have been removed from Perl 5
543543
already, there should be no need to tell you how to use them in Perl 6.
544544
545545
=end pod
546+
547+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/about.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,5 @@ renders like this
148148
Notice that text after a pipe ('|') has no formatting. Also note that B<V< C<> >>
149149
preserves spaces and treats text as verbatim.
150150
=end pod
151+
152+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/classtut.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,3 +682,5 @@ bunch of bytes needs to know the attributes of that object, which it can
682682
find out via introspection.
683683
684684
=end pod
685+
686+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/community.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ There is a large presence on the C<#perl6> channel on C<freenode.net>,
1616
who are happy to provide support and answer questions.
1717
1818
=end pod
19+
20+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)