We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6f05c0 commit 29139c1Copy full SHA for 29139c1
lsp/sourcekit.lua
@@ -13,7 +13,7 @@ return {
13
root_dir = function(bufnr, on_dir)
14
local filename = vim.api.nvim_buf_get_name(bufnr)
15
on_dir(
16
- util.root_pattern 'buildServer.json'(filename)
+ util.root_pattern('buildServer.json', '.bsp')(filename)
17
or util.root_pattern('*.xcodeproj', '*.xcworkspace')(filename)
18
-- better to keep it at the end, because some modularized apps contain multiple Package.swift files
19
or util.root_pattern('compile_commands.json', 'Package.swift')(filename)
0 commit comments