1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

added php linter

This commit is contained in:
Ryan Kes 2020-10-26 16:26:29 +01:00
parent 88c5eb9745
commit d5eeeb4057

View File

@ -189,7 +189,7 @@
let g:ale_sign_warning = '⚠️'
" Fix files
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'vue': ['importjs', 'prettier', 'eslint'], 'javascript': ['importjs', 'prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports'], 'markdown': ['prettier', 'remark-lint', 'textlint'], 'rust': ['rustfmt']}
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'vue': ['importjs', 'prettier', 'eslint'], 'javascript': ['importjs', 'prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports'], 'markdown': ['prettier', 'remark-lint', 'textlint'], 'rust': ['rustfmt'], 'php': ['php_cs_fixer']}
" Fix files automatically on save
let g:ale_fix_on_save = 1