2023-02-14 05:12:39 +07:00
|
|
|
-- Активация вещания готовых набросков
|
|
|
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
|
|
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|
|
|
|
2023-02-14 04:58:56 +07:00
|
|
|
-- Инициализация "ms-jpq/coq_nvim"
|
2023-02-11 19:56:38 +07:00
|
|
|
local coq = require('coq')
|
|
|
|
|
2023-02-14 04:58:56 +07:00
|
|
|
-- Инициализация LSP-серверов
|
|
|
|
|
2023-02-14 05:12:39 +07:00
|
|
|
-- Инициализация "psalm" (LSP-сервер для PHP)
|
2023-02-11 19:56:38 +07:00
|
|
|
require('lspconfig').psalm.setup {
|
|
|
|
on_attach = lspconfig_on_attach,
|
|
|
|
coq.lsp_ensure_capabilities()
|
|
|
|
}
|
2023-02-14 05:12:39 +07:00
|
|
|
|
|
|
|
-- Инициализация "vscode-html-language-server" (готовый набросок для HTML)
|
|
|
|
require('lspconfig').html.setup {
|
|
|
|
capabilities = capabilities
|
|
|
|
}
|