From 3b0430bec6be70e3312914d6034963319f860591 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 3 Mar 2017 12:59:32 +0100 Subject: [PATCH] nimsuggest: minor doc addition --- compiler/suggest.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/suggest.nim b/compiler/suggest.nim index 1b102e4fed..6aaca41851 100644 --- a/compiler/suggest.nim +++ b/compiler/suggest.nim @@ -27,6 +27,8 @@ ## - Finally, sort matches by relevance. The relevance is determined by the ## number of usages, so ``strutils.replace`` comes before ## ``strutils.wordWrap``. +## - In any case, sorting also considers scoping information. Local variables +## get high priority. # included from sigmatch.nim