summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-11-21 16:18:20 +0000
committerGitHub <noreply@github.com>2020-11-21 16:18:20 +0000
commite4bfcb44b3ddc9fab7eb713fa0ddcf45d0ab7b3a (patch)
tree2565e6fec7f3d4ba8cc66717a243e67373babb01 /doc
parentedd96f44148ec1877cf031417eab764a266ed32b (diff)
parentf8351c1b22d02f194235388779ad47028d5e7a25 (diff)
downloadale-e4bfcb44b3ddc9fab7eb713fa0ddcf45d0ab7b3a.zip
Merge pull request #3357 from creativenull/feat-php-intelephense
feat: add intelephense support for php
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-php.txt35
-rw-r--r--doc/ale-supported-languages-and-tools.txt1
-rw-r--r--doc/ale.txt1
3 files changed, 37 insertions, 0 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index 9fe868f8..79d9a033 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -244,4 +244,39 @@ g:ale_php_php_executable *g:ale_php_php_executable*
This variable sets the executable used for php.
===============================================================================
+intelephense *ale-php-intelephense*
+
+g:ale_php_intelephense_executable *g:ale_php_intelephense_executable*
+ *b:ale_php_intelephense_executable*
+ Type: |String|
+ Default: `'intelephense'`
+
+ The variable can be set to configure the executable that will be used for
+ running the intelephense language server. `node_modules` directory
+ executable will be preferred instead of this setting if
+ |g:ale_php_intelephense_use_global| is `0`.
+
+ See: |ale-integrations-local-executables|
+
+
+g:ale_php_intelephense_use_global *g:ale_php_intelephense_use_global*
+ *b:ale_php_intelephense_use_global*
+ Type: |Number|
+ Default: `get(g:, 'ale_use_global_executables', 0)`
+
+ This variable can be set to `1` to force the language server to be run with
+ the executable set for |g:ale_php_intelephense_executable|.
+
+ See: |ale-integrations-local-executables|
+
+g:ale_php_intelephense_config *g:ale_php_intelephense_config*
+ *b:ale_php_intelephense_config*
+ Type: |Dictionary|
+ Default: `{}`
+
+ The initialization options config specified by Intelephense. Refer to the
+ installation docs provided by intelephense (github.com/bmewburn/intelephense
+ -docs).
+
+===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt
index b95c3a9b..469f5fc9 100644
--- a/doc/ale-supported-languages-and-tools.txt
+++ b/doc/ale-supported-languages-and-tools.txt
@@ -326,6 +326,7 @@ Notes:
* Perl6
* `perl6 -c`
* PHP
+ * `intelephense`
* `langserver`
* `phan`
* `phpcbf`
diff --git a/doc/ale.txt b/doc/ale.txt
index 1a2938ee..95634171 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -2796,6 +2796,7 @@ documented in additional help files.
psalm.................................|ale-php-psalm|
php-cs-fixer..........................|ale-php-php-cs-fixer|
php...................................|ale-php-php|
+ intelephense..........................|ale-php-intelephense|
po......................................|ale-po-options|
write-good............................|ale-po-write-good|
pod.....................................|ale-pod-options|