Skip to content

Commit

Permalink
Changed default min score for line fuzzy searcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Sep 8, 2024
1 parent b3954ed commit 85adc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text/text_editor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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").} =
Expand Down

0 comments on commit 85adc76

Please sign in to comment.