summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin/perl.vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-24 02:26:01 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-24 03:31:57 -0400
commit2cdd9d6858367976bfccc78a40ef2efdd82b8139 (patch)
tree5c4c39dc7dd4e4f2984786a12e9e3a86e72dd730 /vim/ftplugin/perl.vim
parentb5be9c8928854d5cd948b13d41285276b5325db0 (diff)
downloadconf-2cdd9d6858367976bfccc78a40ef2efdd82b8139.tar.gz
conf-2cdd9d6858367976bfccc78a40ef2efdd82b8139.zip
move filetype-specific ale configuration to ftplugins
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r--vim/ftplugin/perl.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 94f3c1d..9492f1d 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -1,3 +1,5 @@
+let b:ale_linters = { 'perl': ['perlcritic'] }
+
" :make does a syntax check
if expand("%:e") == "psgi"
exe 'setlocal makeprg=plackup\ -Ilib\ -a\ ' . expand("%")