aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorkylo252 <59826753+kylo252@users.noreply.github.com>2021-09-29 11:19:41 +0200
committerGitHub <noreply@github.com>2021-09-29 02:19:41 -0700
commit39e726756b7254d014c5bc46335ba0e56c34b4f1 (patch)
tree282699caa176bb355fd9f216134b93fa38a1ac83 /lua
parentfix(docs): add package.json for java langserver (#1277) (diff)
downloadnvim-lspconfig-39e726756b7254d014c5bc46335ba0e56c34b4f1.tar
nvim-lspconfig-39e726756b7254d014c5bc46335ba0e56c34b4f1.tar.gz
nvim-lspconfig-39e726756b7254d014c5bc46335ba0e56c34b4f1.tar.bz2
nvim-lspconfig-39e726756b7254d014c5bc46335ba0e56c34b4f1.tar.lz
nvim-lspconfig-39e726756b7254d014c5bc46335ba0e56c34b4f1.tar.xz
nvim-lspconfig-39e726756b7254d014c5bc46335ba0e56c34b4f1.tar.zst
nvim-lspconfig-39e726756b7254d014c5bc46335ba0e56c34b4f1.zip
fix(docs): add missing package.json to intelephense (#1276)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/intelephense.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/lspconfig/intelephense.lua b/lua/lspconfig/intelephense.lua
index ed11c9a2..1131ad91 100644
--- a/lua/lspconfig/intelephense.lua
+++ b/lua/lspconfig/intelephense.lua
@@ -26,13 +26,14 @@ npm install -g intelephense
```
]],
default_config = {
+ package_json = 'https://raw.githubusercontent.com/bmewburn/vscode-intelephense/master/package.json',
root_dir = [[root_pattern("composer.json", ".git")]],
init_options = [[{
storagePath = Optional absolute path to storage dir. Defaults to os.tmpdir().
globalStoragePath = Optional absolute path to a global storage dir. Defaults to os.homedir().
licenceKey = Optional licence key or absolute path to a text file containing the licence key.
clearCache = Optional flag to clear server state. State can also be cleared by deleting {storagePath}/intelephense
- -- See https://github.com/bmewburn/intelephense-docs#initialisation-options
+ -- See https://github.com/bmewburn/intelephense-docs/blob/master/installation.md#initialisation-options
}]],
settings = [[{
intelephense = {
@@ -40,7 +41,7 @@ npm install -g intelephense
maxSize = 1000000;
};
};
- -- See https://github.com/bmewburn/intelephense-docs#configuration-options
+ -- See https://github.com/bmewburn/intelephense-docs
}]],
},
},