diff --git a/lua/lspconfig/configs/sourcekit.lua b/lua/lspconfig/configs/sourcekit.lua index 99a61f61..9da1b3ed 100644 --- a/lua/lspconfig/configs/sourcekit.lua +++ b/lua/lspconfig/configs/sourcekit.lua @@ -15,6 +15,14 @@ return { local t = { objc = 'objective-c', objcpp = 'objective-cpp' } return t[ftype] or ftype end, + capabilities = { + textDocument = { + diagnostic = { + dynamicRegistration = true, + relatedDocumentSupport = true, + }, + }, + }, }, docs = { description = [[