Skip to content

Commit

Permalink
fix(lsp): rebase conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Pluchart committed Jan 24, 2024
1 parent 48596a5 commit a47c04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ return {
local cwd = vim.loop.cwd()
local util = require('lspconfig.util')
local root = util.root_pattern('composer.json', '.git')(fname)
return util.path.is_descendant(cwd, root) and cwd or root
return util.path.iterate_parents(cwd) and cwd or root
end

local config = {
Expand Down

0 comments on commit a47c04e

Please sign in to comment.