feat: add intelephense licence key file

This commit is contained in:
Simon Lasbrugnas 2023-08-11 13:39:35 +02:00
parent 6927e675d5
commit c06a6e0fb8
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -1,4 +1,16 @@
local lsp = require("lsp-zero")
local lspconfig = require('lspconfig')
local home = vim.fn.expand('$HOME')
-- Activate intelephense
lspconfig.intelephense.setup {
cmd = { "intelephense", "--stdio" },
settings = {
intelephense = {
licenceKeyPath = home..'/intelephense/license.txt'
}
}
}
lsp.preset("recommended")