feat(kauffinger/lazyvim): new config with my own from kauffinger/lazyvim
This commit is contained in:
28
lua/plugins/intelephense.lua
Normal file
28
lua/plugins/intelephense.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
-- @type lspconfig.options
|
||||
servers = {
|
||||
intelephense = {
|
||||
filetypes = { "php", "blade" },
|
||||
settings = {
|
||||
intelephense = {
|
||||
filetypes = { "php", "blade" },
|
||||
files = {
|
||||
associations = { "*.php", "*.blade.php" }, -- Associating .blade.php files as well
|
||||
maxSize = 5000000,
|
||||
},
|
||||
},
|
||||
},
|
||||
cmd = {
|
||||
"node",
|
||||
"--max-old-space-size=4096",
|
||||
"/home/alex/.local/share/nvim/mason/bin/intelephense",
|
||||
"--stdio",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user