diff options
author | Oxbian <oxbian@mailbox.org> | 2025-03-24 21:38:08 -0400 |
---|---|---|
committer | Oxbian <oxbian@mailbox.org> | 2025-03-24 21:38:08 -0400 |
commit | 1e4633737b636fd29cfe4add6752aea73639be0c (patch) | |
tree | d19ed20ebf8662c621151f7d92ce6eb7d1bd2bb7 /conf/plugins.vim | |
parent | 14779f654194f86b3cec6d89e3fef9e792d29026 (diff) | |
download | vimrc-1e4633737b636fd29cfe4add6752aea73639be0c.tar.gz vimrc-1e4633737b636fd29cfe4add6752aea73639be0c.zip |
feat: better formatter and auto relign at 80 cols
Diffstat (limited to 'conf/plugins.vim')
-rw-r--r-- | conf/plugins.vim | 16 |
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 |