Add indexation command to mode docstring + add install to readme

WIP
Hugo Thunnissen 3 years ago
parent 15c175dc61
commit 825a3de2c4

@ -24,6 +24,17 @@ Example config:
(add-hook 'php-mode-hook #'my-php-personal-hook)
```
## Install
```bash
git clone https://git.sr.ht/~hugot/phpinspect.el ~/projects/phpinspect.el
```
```elisp
(add-to-list 'load-path "~/projects/phpinspect.el")
(require 'phpinspect)
```
## Development
### Running tests

@ -1882,6 +1882,10 @@ users will have to use \\[phpinspect-purge-cache]."
"A minor mode for intelligent completion for and interaction
with PHP files.
To initially index a project, use M-x `phpinspect-index-current-project'
in a buffer of one of the project files. Project root is detected with
`phpinspect-project-root-file-list'.
For completion see the company-mode backend:
`phpinspect-company-backend'.

Loading…
Cancel
Save