From 85adc7697d07a94ee9684a5e746053e80b1a8c54 Mon Sep 17 00:00:00 2001 From: Nimaoth Date: Sun, 8 Sep 2024 20:44:47 +0200 Subject: [PATCH] Changed default min score for line fuzzy searcher --- src/text/text_editor.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/text_editor.nim b/src/text/text_editor.nim index 650708db..558369f0 100644 --- a/src/text/text_editor.nim +++ b/src/text/text_editor.nim @@ -2760,7 +2760,7 @@ proc getCompletions*(self: TextDocumentEditor) {.expose("editor.text").} = proc gotoSymbol*(self: TextDocumentEditor) {.expose("editor.text").} = asyncCheck self.gotoSymbolAsync() -proc fuzzySearchLines*(self: TextDocumentEditor, minScore: float = float.low, sort: bool = true) {.expose("editor.text").} = +proc fuzzySearchLines*(self: TextDocumentEditor, minScore: float = 0.2, sort: bool = true) {.expose("editor.text").} = self.openLineSelectorPopup(minScore, sort) proc gotoWorkspaceSymbol*(self: TextDocumentEditor, query: string = "") {.expose("editor.text").} =