feat: add intelephense licence key file
This commit is contained in:
parent
6927e675d5
commit
c06a6e0fb8
1 changed files with 12 additions and 0 deletions
|
|
@ -1,4 +1,16 @@
|
||||||
local lsp = require("lsp-zero")
|
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")
|
lsp.preset("recommended")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue