From c3efd798aa98290d0175617bfe1202075fd8dadf Mon Sep 17 00:00:00 2001 From: mirzaev Date: Tue, 14 Feb 2023 08:12:39 +1000 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B3=D0=BE=D1=82=D0=BE=D0=B2=D1=8B=D0=B9=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B1=D1=80=D0=BE=D1=81=D0=BE=D0=BA=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20HTML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/plugins/lspconfig.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 9a70c81..3e0efc9 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -1,10 +1,19 @@ +-- Активация вещания готовых набросков +local capabilities = vim.lsp.protocol.make_client_capabilities() +capabilities.textDocument.completion.completionItem.snippetSupport = true + -- Инициализация "ms-jpq/coq_nvim" local coq = require('coq') -- Инициализация LSP-серверов --- Настройка и инициализация "psalm" (LSP-сервер для PHP) +-- Инициализация "psalm" (LSP-сервер для PHP) require('lspconfig').psalm.setup { on_attach = lspconfig_on_attach, coq.lsp_ensure_capabilities() } + +-- Инициализация "vscode-html-language-server" (готовый набросок для HTML) +require('lspconfig').html.setup { + capabilities = capabilities +}