mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim php: split main file as it starts to get abit big
This commit is contained in:
parent
61ef12eff1
commit
bb62416c69
7 changed files with 164 additions and 142 deletions
25
nvim/lua/user/plugins/lang/php/lsp.lua
Normal file
25
nvim/lua/user/plugins/lang/php/lsp.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
local servers = {
|
||||
laravel_ls = {
|
||||
mason = false,
|
||||
cmd = { "/home/pnx/code/go/laravel-ls/start.sh", "--log-level", "trace" }
|
||||
},
|
||||
phpactor = require 'user.plugins.lang.php.lsp.phpactor',
|
||||
-- Use intelephense as main server.
|
||||
intelephense = {
|
||||
settings = {
|
||||
intelephense = {
|
||||
-- files = {
|
||||
-- maxSize = 10000000
|
||||
-- }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = servers
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue