diff --git a/src/text/completion.nim b/src/text/completion.nim index 13d1fba1..f43ff43a 100644 --- a/src/text/completion.nim +++ b/src/text/completion.nim @@ -83,7 +83,7 @@ proc updateCombinedCompletions(self: CompletionEngine) = self.combinedCompletions.sort(cmp, Descending) self.combinedDirty = false - log lvlInfo, &"[Comp] Combine completions took {timer.elapsed.ms}. {self.combinedCompletions.len} completions." + # log lvlInfo, &"[Comp] Combine completions took {timer.elapsed.ms}. {self.combinedCompletions.len} completions." proc handleProviderCompletionsUpdated(self: CompletionEngine, provider: CompletionProvider) = self.combinedDirty = true diff --git a/src/text/text_editor.nim b/src/text/text_editor.nim index 9e0a917f..bdeea20b 100644 --- a/src/text/text_editor.nim +++ b/src/text/text_editor.nim @@ -466,8 +466,8 @@ proc preRender*(self: TextDocumentEditor) = self.updateSearchResults() if self.showCompletions and self.completionsDirty: - measureBlock "refilter completions": - self.refilterCompletions() + # measureBlock "refilter completions": + self.refilterCompletions() iterator splitSelectionIntoLines(self: TextDocumentEditor, selection: Selection, includeAfter: bool = true): Selection =