Currently flycheck (emacs) shows me a lot of errors in nim, that are only errors, because nim does not know the context where it is included. Is there a way to work around it? For example a special comment in the form like #imported from main.nim?
main.nim
import math
include submodule
submodule.nim
#imported from main.nim
echo sin(x) # <- error flycheck doesn't know sin