fix clangd special handling in lsp
This commit is contained in:
parent
55361c475d
commit
0b6e5cc893
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ return {
|
|||
end,
|
||||
clangd = function()
|
||||
require("lspconfig").clangd.setup {
|
||||
capabilities = capabilities,
|
||||
on_attach = function(client)
|
||||
client.server_capabilities.documentFormattingProvider = false
|
||||
client.server_capabilities.documentRangeFormattingProvider = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue