From 39da83c5eb373454eb936bfeaf850e6ff42884b0 Mon Sep 17 00:00:00 2001 From: grdvnl Date: Tue, 23 Mar 2021 08:34:07 -0700 Subject: [PATCH] Makes pragma completions case-insensitive --- ghcide/src/Development/IDE/Plugin/Completions/Logic.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcide/src/Development/IDE/Plugin/Completions/Logic.hs b/ghcide/src/Development/IDE/Plugin/Completions/Logic.hs index 06d0c4b028..41df57b60c 100644 --- a/ghcide/src/Development/IDE/Plugin/Completions/Logic.hs +++ b/ghcide/src/Development/IDE/Plugin/Completions/Logic.hs @@ -564,7 +564,7 @@ getCompletions plId ideOpts CC {allModNamesAsNS, unqualCompls, qualCompls, impor filtListWithSnippet f list suffix = [ toggleSnippets caps withSnippets (f label (snippet <> suffix)) | (snippet, label) <- list - , Fuzzy.test fullPrefix label + , Fuzzy.test (T.toUpper fullPrefix) label ] filtImportCompls = filtListWith (mkImportCompl enteredQual) importableModules