We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.sln
.csproj
1 parent f875e58 commit a9d8e65Copy full SHA for a9d8e65
1 file changed
lsp/roslyn_ls.lua
@@ -129,17 +129,17 @@ return {
129
local root_dir = client.config.root_dir
130
131
-- try load first solution we find
132
- for entry, type in vim.fs.dir(root_dir) do
+ for entry, type in fs.dir(root_dir) do
133
if type == 'file' and vim.endswith(entry, '.sln') then
134
- on_init_sln(client, entry)
+ on_init_sln(client, fs.joinpath(root_dir, entry))
135
return
136
end
137
138
139
-- if no solution is found load project
140
141
if type == 'file' and vim.endswith(entry, '.csproj') then
142
- on_init_project(client, { entry })
+ on_init_project(client, { fs.joinpath(root_dir, entry) })
143
144
145
end,
0 commit comments