Permalink
Browse files

Support for perl (by TheAthlete)

  • Loading branch information...
1 parent 86399a4 commit d231b58c946d8b820fb23ef3039e9745715d0c4c @tomtom committed Aug 31, 2012
Showing with 18 additions and 0 deletions.
  1. +18 −0 autoload/checksyntax/defs/perl.vim
@@ -0,0 +1,18 @@
+" perl.vim
+" @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim])
+" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
+" @Created: 2012-07-02.
+" @Last Change: 2012-08-29.
+" @Revision: 11
+
+
+if !exists('g:checksyntax.perl')
+ let g:checksyntax['perl'] = {
+ \ 'alternatives': [
+ \ {
+ \ 'cmd': 'perl -Wc %',
+ \ 'efm': '%-G%.%#had compilation errors.,%-G%.%#syntax OK,%m at %f line %l.,%+A%.%# at %f line %l\,%.%#,%+C%.%#',
+ \ },
+ \ ]
+ \ }
+endif

0 comments on commit d231b58

Please sign in to comment.