From 2acefee0449b440b109aad9e5c263305dcd10f96 Mon Sep 17 00:00:00 2001 From: Neelesh Chandola Date: Wed, 19 Dec 2018 00:21:14 +0530 Subject: Nimsuggest now shows gotodef for y in `from x import y` (#10023) --- compiler/importer.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/importer.nim') diff --git a/compiler/importer.nim b/compiler/importer.nim index 131b1ad8a..118d26d80 100644 --- a/compiler/importer.nim +++ b/compiler/importer.nim @@ -92,6 +92,7 @@ proc importSymbol(c: PContext, n: PNode, fromMod: PSym) = rawImportSymbol(c, e) e = nextIdentIter(it, fromMod.tab) else: rawImportSymbol(c, s) + suggestSym(c.config, n.info, s, c.graph.usageSym, false) proc importAllSymbolsExcept(c: PContext, fromMod: PSym, exceptSet: IntSet) = var i: TTabIter -- cgit 1.4.1-2-gfad0