apllied config
This commit is contained in:
parent
5978ec3f28
commit
0874dcd113
15 changed files with 343 additions and 121 deletions
|
|
@ -7,16 +7,16 @@ capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|||
if not configs.intelephense then
|
||||
configs.intelephense = {
|
||||
default_config = {
|
||||
cmd = { 'intelephense', '--stdio' };
|
||||
filetypes = { 'php' };
|
||||
cmd = { 'intelephense', '--stdio' },
|
||||
filetypes = { 'php' },
|
||||
root_dir = function(fname)
|
||||
return vim.loop.cwd()
|
||||
end;
|
||||
end,
|
||||
settings = {
|
||||
intelephense = {
|
||||
files = {
|
||||
maxSize = 1000000;
|
||||
};
|
||||
maxSize = 1000000,
|
||||
},
|
||||
environment = {
|
||||
includePaths = {
|
||||
"/home/serii/Sites/wordpress",
|
||||
|
|
@ -31,4 +31,3 @@ if not configs.intelephense then
|
|||
end
|
||||
|
||||
lspconfig.intelephense.setup { capabilities = capabilities }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue