diff --git a/gopls/doc/settings.md b/gopls/doc/settings.md index ee9a74e06e7..dfa8ff64b7e 100644 --- a/gopls/doc/settings.md +++ b/gopls/doc/settings.md @@ -398,7 +398,7 @@ Must be one of: * `"FastFuzzy"` * `"Fuzzy"` -Default: `"Fuzzy"`. +Default: `"FastFuzzy"`. ##### **symbolStyle** *enum* diff --git a/internal/lsp/source/api_json.go b/internal/lsp/source/api_json.go index 8249fb471bd..78a4af50b7f 100755 --- a/internal/lsp/source/api_json.go +++ b/internal/lsp/source/api_json.go @@ -185,7 +185,7 @@ var GeneratedAPIJSON = &APIJSON{ {Value: "\"FastFuzzy\""}, {Value: "\"Fuzzy\""}, }, - Default: "\"Fuzzy\"", + Default: "\"FastFuzzy\"", Status: "advanced", Hierarchy: "ui.navigation", }, diff --git a/internal/lsp/source/options.go b/internal/lsp/source/options.go index 07acdf79722..98ef2aeaa43 100644 --- a/internal/lsp/source/options.go +++ b/internal/lsp/source/options.go @@ -133,7 +133,7 @@ func DefaultOptions() *Options { }, NavigationOptions: NavigationOptions{ ImportShortcut: Both, - SymbolMatcher: SymbolFuzzy, + SymbolMatcher: SymbolFastFuzzy, SymbolStyle: DynamicSymbols, }, CompletionOptions: CompletionOptions{