2022-10-19 00:47:07 +01:00
|
|
|
local present, lspconfig = pcall(require,"lspconfig")
|
|
|
|
|
|
|
|
on_attach = function(client, bufnr)
|
|
|
|
client.server_capabilities.documentFormattingProvider = false
|
|
|
|
client.server_capabilities.documentRangeFormattingProvider = false
|
|
|
|
|
|
|
|
utils.load_mappings("lspconfig", { buffer = bufnr })
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
|
|
|
|
|
|
|
2022-10-20 21:23:52 +01:00
|
|
|
lspconfig.hls.setup{}
|
2022-10-19 00:47:07 +01:00
|
|
|
|
|
|
|
lspconfig.rust_analyzer.setup{}
|