feat(nvim): add docker_compose_language_service
This commit is contained in:
parent
8ad30581a2
commit
1ba0a7837c
@ -359,24 +359,6 @@ return {
|
|||||||
on_attach = on_attach,
|
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({
|
lspconfig.jsonls.setup({
|
||||||
settings = {
|
settings = {
|
||||||
schemas = require("schemastore").json.schemas(),
|
schemas = require("schemastore").json.schemas(),
|
||||||
@ -386,6 +368,16 @@ return {
|
|||||||
on_attach = on_attach,
|
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({
|
lspconfig.powershell_es.setup({
|
||||||
bundle_path = vim.fn.stdpath("data") .. "/mason/packages/powershell-editor-services/",
|
bundle_path = vim.fn.stdpath("data") .. "/mason/packages/powershell-editor-services/",
|
||||||
capabilities = lsp_capabilities,
|
capabilities = lsp_capabilities,
|
||||||
|
Loading…
Reference in New Issue
Block a user