File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,17 +129,17 @@ return {
129
129
local root_dir = client .config .root_dir
130
130
131
131
-- try load first solution we find
132
- for entry , type in vim . fs .dir (root_dir ) do
132
+ for entry , type in fs .dir (root_dir ) do
133
133
if type == ' file' and vim .endswith (entry , ' .sln' ) then
134
- on_init_sln (client , entry )
134
+ on_init_sln (client , fs . joinpath ( root_dir , entry ) )
135
135
return
136
136
end
137
137
end
138
138
139
139
-- if no solution is found load project
140
- for entry , type in vim . fs .dir (root_dir ) do
140
+ for entry , type in fs .dir (root_dir ) do
141
141
if type == ' file' and vim .endswith (entry , ' .csproj' ) then
142
- on_init_project (client , { entry })
142
+ on_init_project (client , { fs . joinpath ( root_dir , entry ) })
143
143
end
144
144
end
145
145
end ,
You can’t perform that action at this time.
0 commit comments