issue #183 clangd missing bufnr

serverCapcities
ray-x 2 years ago
parent 93e28f36d0
commit eb75b09a33

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

Loading…
Cancel
Save