nimsuggest: added 'chk', 'outline' and 'highlight' features

This commit is contained in:
Araq 2015-11-01 23:26:19 +01:00
commit d673fb3911
8 changed files with 167 additions and 71 deletions

View file

@ -30,7 +30,7 @@ var
## XXX: we should implement recycling of file IDs
## if the user keeps renaming modules, the file IDs will keep growing
proc getModule(fileIdx: int32): PSym =
proc getModule*(fileIdx: int32): PSym =
if fileIdx >= 0 and fileIdx < gCompiledModules.len:
result = gCompiledModules[fileIdx]