Skip to content

Commit

Permalink
fix(sourcekit): add buildserver.json and compile_commands as root pat…
Browse files Browse the repository at this point in the history
…tern (#2620)
  • Loading branch information
glepnir committed May 17, 2023
1 parent 30a2320 commit 8dc45a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/server_configurations/sourcekit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ return {
default_config = {
cmd = { 'sourcekit-lsp' },
filetypes = { 'swift', 'c', 'cpp', 'objective-c', 'objective-cpp' },
root_dir = util.root_pattern('Package.swift', '.git'),
root_dir = util.root_pattern('Package.swift', 'buildServer.json', 'compile_commands.json', '.git'),
},
docs = {
description = [[
Expand Down

0 comments on commit 8dc45a5

Please sign in to comment.