From 03887208a97250133e4efe8a08d68b56f5a06bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Wed, 24 Apr 2019 07:26:06 +0200 Subject: [PATCH] Doing PHP today, yeah --- vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 9d17254..3dec9a0 100644 --- a/vimrc +++ b/vimrc @@ -71,7 +71,11 @@ nmap :ALEFix let g:ale_sign_error = '×' let g:ale_sign_warning = '!' let g:ale_completion_enabled = 1 -let g:ale_fixers = ['shfmt', 'uncrustify', 'remove_trailing_lines', 'trim_whitespace'] +let g:ale_fixers = ['shfmt', 'uncrustify', 'remove_trailing_lines', 'trim_whitespace', 'phpcbf'] +let g:ale_php_phpcs_standard = '/srv/http/machines/ruleset.xml' + +" For PHP, install https://pear.php.net/package/PHP_CodeSniffer + """ UNDOTREE """