From dd60071737dd0c1e3dd97cdb9e75f28d1aaf10d2 Mon Sep 17 00:00:00 2001 From: Penny Leach Date: Thu, 30 Sep 2010 15:07:08 +0200 Subject: [PATCH] Added ftplugins to do lint check for both javascript & php --- .vim/ftplugin/javascript.vim | 1 + .vim/ftplugin/php.vim | 1 + 2 files changed, 2 insertions(+) create mode 100644 .vim/ftplugin/javascript.vim create mode 100644 .vim/ftplugin/php.vim diff --git a/.vim/ftplugin/javascript.vim b/.vim/ftplugin/javascript.vim new file mode 100644 index 0000000..1fe24ae --- /dev/null +++ b/.vim/ftplugin/javascript.vim @@ -0,0 +1 @@ +set makeprg=runjslint\ % diff --git a/.vim/ftplugin/php.vim b/.vim/ftplugin/php.vim new file mode 100644 index 0000000..992207d --- /dev/null +++ b/.vim/ftplugin/php.vim @@ -0,0 +1 @@ +set makeprg=php\ -d\ display_errors=1\ -l\ % -- 2.39.5