From d5eeeb405757146c9f4ee7ce6ee5b25ba6cba48d Mon Sep 17 00:00:00 2001 From: Ryan Kes <> Date: Mon, 26 Oct 2020 16:26:29 +0100 Subject: [PATCH] added php linter --- neovim/.config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index b0c3b78..7d9b62f 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -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