neovim / nvim-lspconfig

Quickstart configs for Nvim LSP
Apache License 2.0
9.98k stars 2.04k forks source link

fix(sourcekit-lsp): use git as last resort for sourcekit-lsp. #3192

Closed dirtyhabits97 closed 1 month ago

dirtyhabits97 commented 1 month ago

Fixes a bug described in #3191

TL;DR: We should search for Package.swift before looking at the git root

wojciech-kulik commented 1 month ago

You should also update the order in docs, like here: https://github.com/neovim/nvim-lspconfig/pull/3066/files