nimsuggest: added 'chk', 'outline' and 'highlight' features
This commit is contained in:
parent
d883781071
commit
d673fb3911
8 changed files with 167 additions and 71 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue