1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00
dotfiles/nvim/lua/user/plugins/lang/php/lsp/intelephense.lua

34 lines
993 B
Lua

--- @type LSPServerOptions
return {
init_options = {
globalStoragePath = vim.fn.expand('$HOME/.local/state/intelephense'),
licenceKey = vim.fn.expand('$HOME/.config/intelephense/licence.txt'),
},
settings = {
intelephense = {
files = {
maxSize = 10000000,
exclude = {
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**/{Tests,tests}/**",
"**/vendor/fakerphp/**",
"**/.history/**",
"**/vendor/**/vendor/**"
}
},
completion = {
maxItems = 40
},
environment = {
shortOpenTags = true
}
}
}
}