hinrik / perl6-mode

Emacs major mode for Perl 6
GNU General Public License v3.0
36 stars 4 forks source link

Add font locks for Pod #5

Open 4d47 opened 8 years ago

4d47 commented 8 years ago
=head1 Pod Font Lock

Currently there is no special syntax highlighting for Pod blocks (exception for declarator blocks), eg. describe-face on head1 says perl6-identifier. In perl-mode it says font-lock-comment-face.

I suggest all Pod being treated as comments.

Thanks!

ShimmerFairy commented 8 years ago

At the least they should use the "documentation" face (like C++ mode seems to be able to use), and perhaps have declarator blocks use that over the "comment" face as well.