feat(nvim): add docker_compose_language_service

This commit is contained in:
Price Hiller 2023-09-28 15:16:52 -05:00
parent 8ad30581a2
commit 1ba0a7837c
No known key found for this signature in database

View File

@ -359,24 +359,6 @@ return {
on_attach = on_attach,
})
-- lspconfig.omnisharp.setup({
-- cmd = {
-- vim.fn.stdpath("data") .. "/mason/bin/omnisharp",
-- "--languageserver",
-- "--hostPID",
-- tostring(vim.fn.getpid()),
-- },
--
-- handlers = {
-- ["textDocument/definition"] = require("omnisharp_extended").handler,
-- },
-- enable_import_completion = true,
-- enable_roslyn_analyzers = true,
-- organize_imports_on_format = true,
-- capabilities = lsp_capabilities,
-- on_attach = on_attach,
-- })
lspconfig.jsonls.setup({
settings = {
schemas = require("schemastore").json.schemas(),
@ -386,6 +368,16 @@ return {
on_attach = on_attach,
})
lspconfig.docker_compose_language_service.setup({
settings = {
telemetry = {
enableTelemetry = false
}
},
capabilities = lsp_capabilities,
on_attach = on_attach
})
lspconfig.powershell_es.setup({
bundle_path = vim.fn.stdpath("data") .. "/mason/packages/powershell-editor-services/",
capabilities = lsp_capabilities,