переход с psalm на intelephense
This commit is contained in:
parent
422e3d1079
commit
9e43ba9054
|
@ -11,20 +11,30 @@ local coq = require('coq')
|
|||
-- Инициализация LSP-серверов
|
||||
|
||||
-- Инициализация "psalm" (LSP-сервер для PHP)
|
||||
lspconfig.psalm.setup({
|
||||
--[[ lspconfig.psalm.setup({
|
||||
on_attach = lspconfig_on_attach,
|
||||
coq.lsp_ensure_capabilities()
|
||||
coq.lsp_ensure_capabilities(),
|
||||
capabilities = capabilities
|
||||
}) ]]
|
||||
|
||||
-- Инициализация "intelephense" (LSP-сервер для PHP)
|
||||
lspconfig.intelephense.setup({
|
||||
on_attach = lspconfig_on_attach,
|
||||
coq.lsp_ensure_capabilities(),
|
||||
capabilities = capabilities
|
||||
})
|
||||
|
||||
-- Инициализация "vscode-html-language-server" (готовый набросок для HTML)
|
||||
lspconfig.html.setup({
|
||||
on_attach = lspconfig_on_attach,
|
||||
coq.lsp_ensure_capabilities(),
|
||||
capabilities = capabilities
|
||||
})
|
||||
|
||||
-- Инициализация "vscode-html-language-server" (готовый набросок для CSS)
|
||||
lspconfig.cssls.setup({
|
||||
on_attach = lspconfig_on_attach,
|
||||
coq.lsp_ensure_capabilities(),
|
||||
capabilities = capabilities
|
||||
})
|
||||
|
||||
|
@ -40,14 +50,12 @@ lspconfig.eslint.setup({
|
|||
-- Вызов глобальной функции
|
||||
lspconfig_on_attach(client, bufnr)
|
||||
end,
|
||||
coq.lsp_ensure_capabilities()
|
||||
})
|
||||
|
||||
-- Инициализация "vscode-langservers-extracted" (готовый набросок для JSON)
|
||||
lspconfig.jsonls.setup({
|
||||
on_attach = lspconfig_on_attach,
|
||||
capabilities = capabilities,
|
||||
filetypes = {
|
||||
'json',
|
||||
'log'
|
||||
}
|
||||
coq.lsp_ensure_capabilities(),
|
||||
capabilities = capabilities
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue