From 1e4633737b636fd29cfe4add6752aea73639be0c Mon Sep 17 00:00:00 2001 From: Oxbian Date: Mon, 24 Mar 2025 21:38:08 -0400 Subject: feat: better formatter and auto relign at 80 cols --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8b532c1..4eef469 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,6 @@ This repo contains my vim configuration, hope it will be useful for you. You will need `vim` and `git` to be able to use this configuration. -Normally if you run the `install.sh` script it will work, but if you have a -problem, try to install vim plug and check if your problem is solved. - **Since VIM 9.1.0327, vim can now read config from $XDG_CONFIG_HOME/vim** ```sh @@ -143,6 +140,14 @@ source .venv/bin/activate pip install pyton-lsp-server[all] ``` +### PHP + +For PHP, a combinaison of linters and fixers is used. +- [Intelephense](https://github.com/bmewburn/intelephense-docs) LSP +- [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) linter +- [PHP MessDetector](https://phpmd.org/) linter +- [PHP code fixer](https://cs.symfony.com/) fixer + ## Formatter By default my config add autoformatting on save on each filetype, you just need a LSP server for the filetype. -- cgit v1.2.3