diff options
| author | Raphael <glepnir@neovim.pro> | 2023-05-17 15:15:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-17 15:15:21 +0800 |
| commit | 8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86 (patch) | |
| tree | 52943aeab77bfda76e375ae228a2e17168e744c3 /lua | |
| parent | feat(texlab): send position when building (#2614) (diff) | |
| download | nvim-lspconfig-8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86.tar nvim-lspconfig-8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86.tar.gz nvim-lspconfig-8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86.tar.bz2 nvim-lspconfig-8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86.tar.lz nvim-lspconfig-8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86.tar.xz nvim-lspconfig-8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86.tar.zst nvim-lspconfig-8dc45a5c142f0b5a5dd34e5cdba33217d5dc6a86.zip | |
fix(sourcekit): add buildserver.json and compile_commands as root pattern (#2620)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/sourcekit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/sourcekit.lua b/lua/lspconfig/server_configurations/sourcekit.lua index d90b30ae..e6f6017d 100644 --- a/lua/lspconfig/server_configurations/sourcekit.lua +++ b/lua/lspconfig/server_configurations/sourcekit.lua @@ -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 = [[ |
