Remove dbg! calls

This commit is contained in:
Piotr Osiewicz 2023-07-17 13:03:57 +02:00
parent ee9123a7da
commit 8642a1d074
2 changed files with 0 additions and 6 deletions

View file

@ -285,8 +285,6 @@ pub trait LspAdapter: 'static + Send + Sync {
kind: lsp::SymbolKind,
_: &Arc<Language>,
) -> Option<CodeLabel> {
dbg!(name);
dbg!(kind);
None
}
@ -829,7 +827,6 @@ impl LanguageRegistry {
.spawn(async move {
let id = language.id;
let queries = (language.get_queries)(&language.path);
dbg!(&language.path);
let language =
Language::new(language.config, Some(language.grammar))
.with_lsp_adapters(language.lsp_adapters)
@ -843,7 +840,6 @@ impl LanguageRegistry {
state.add(language.clone());
state.mark_language_loaded(id);
if let Some(mut txs) = state.loading_languages.remove(&id) {
dbg!(&name);
for tx in txs.drain(..) {
let _ = tx.send(Ok(language.clone()));
}
@ -851,7 +847,6 @@ impl LanguageRegistry {
}
Err(err) => {
log::error!("failed to load language {name} - {err}");
dbg!(&name);
let mut state = this.state.write();
state.mark_language_loaded(id);
if let Some(mut txs) = state.loading_languages.remove(&id) {

View file

@ -2695,7 +2695,6 @@ impl Project {
key: (WorktreeId, LanguageServerName),
cx: &mut AsyncAppContext,
) -> Result<Option<Arc<LanguageServer>>> {
dbg!(language.name());
let setup = Self::setup_pending_language_server(
this,
initialization_options,