aboutsummaryrefslogtreecommitdiff
path: root/conf/plugins.vim
diff options
context:
space:
mode:
Diffstat (limited to 'conf/plugins.vim')
-rw-r--r--conf/plugins.vim16
1 files changed, 14 insertions, 2 deletions
diff --git a/conf/plugins.vim b/conf/plugins.vim
index bdfa5ea..e2349f3 100644
--- a/conf/plugins.vim
+++ b/conf/plugins.vim
@@ -48,12 +48,24 @@ let g:ale_set_balloons = 1 " Show error when mouse over it
" Linters and fixers (don't forget to setup LSP as linters)
let g:ale_linters = {
-\ 'python': ['pylsp', 'flake8', 'pylint', 'mypy']
+\ 'python': ['pylsp', 'flake8', 'pylint', 'mypy'],
+\ 'php': ['intelephense', 'phpcs', 'phpmd'],
+\ 'rust': ['analyzer'],
+\ 'html': ['vscodehtml', 'htmlhint', 'stylelint', 'eslint'],
+\ 'css': ['vscodecss', 'stylelint'],
+\ 'javascript': ['eslint'],
\}
let g:ale_fixers = {
-\ 'python': ['black', 'isort', 'autopep8']
+\ 'python': ['black', 'isort', 'autopep8'],
+\ 'php': ['php_cs_fixer'],
+\ 'rust': ['rustfmt'],
+\ 'html': ['html-beautify'],
+\ 'css': ['css-beautify'],
+\ 'javascript': ['js-beautify'],
\}
+let g:ale_html_htmlhint_use_global = 1
+let g:ale_html_stylehint_use_global = 1
" Netrw (filetree built-in vim)
let g:netrw_keepdir = 0 " Reload buffer usefull when moving or removing file
ArKa projects. All rights to me, and your next child right arm.