Skip to content

Commit a8458b1

Browse files
Hide lowercase modules. (rescript-lang#418)
1 parent 75c9879 commit a8458b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyze/NewCompletions.re

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ let valueCompletions = (~env: Query.queryEnv, suffix) => {
358358
Log.log(" - Completing in " ++ env.file.uri);
359359
let results = [];
360360
let results =
361-
if (suffix == "" || isCapitalized(suffix)) {
361+
if (isCapitalized(suffix)) {
362362
let moduleCompletions = completionForExporteds(
363363
env.exported.modules, env.file.stamps.modules, suffix, m =>
364364
Module(m)

0 commit comments

Comments
 (0)