|
|
|
@ -680,7 +680,8 @@ void LanguageProtocol::Client::handle_server_request(const boost::variant<size_t |
|
|
|
write_response(id, "{}"); |
|
|
|
write_response(id, "{}"); |
|
|
|
} |
|
|
|
} |
|
|
|
else if(method == "workspace/configuration") { |
|
|
|
else if(method == "workspace/configuration") { |
|
|
|
auto search_path = root_path; |
|
|
|
auto current_view = Notebook::get().get_current_view(); |
|
|
|
|
|
|
|
auto search_path = current_view && filesystem::file_in_path(current_view->file_path, root_path) ? current_view->file_path.parent_path() : root_path; |
|
|
|
auto file = '.' + language_id + "-lsp-configuration-response.json"; |
|
|
|
auto file = '.' + language_id + "-lsp-configuration-response.json"; |
|
|
|
boost::filesystem::path settings_path; |
|
|
|
boost::filesystem::path settings_path; |
|
|
|
while(true) { |
|
|
|
while(true) { |
|
|
|
|