Skip to content

Commit

Permalink
fix(lua-language-server): update root directory search (#2842)
Browse files Browse the repository at this point in the history
  • Loading branch information
didedoshka authored Jan 29, 2024
1 parent 716dbc0 commit 55cff4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/server_configurations/lua_ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ return {
end
root = util.root_pattern 'lua/'(fname)
if root then
return root .. '/lua/'
return root
end
return util.find_git_ancestor(fname)
end,
Expand Down

0 comments on commit 55cff4b

Please sign in to comment.