clangd on_attach

pull/188/head v0.4.0
rayx 2 years ago committed by GitHub
parent eb75b09a33
commit 5131b30ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -184,7 +184,7 @@ local setups = {
'--cross-file-rename',
},
filetypes = { 'c', 'cpp', 'objc', 'objcpp' },
on_attach = function(client, buffnr)
on_attach = function(client, bufnr)
client.resolved_capabilities.document_formatting = true
on_attach(client, bufnr)
end,

Loading…
Cancel
Save