Something wrong with syntax analyzing& Channels
Closed this issue · 3 comments
R3D9477 commented
Hi. I using type Channel and see that (also autocompletion doen't work; probably I must define something "--threads:on" for Nim's parser/autocompletion?):
But project compiles without errors and works fine.
What I'm doing wrong?
thr_spawned_channels.zip
RSDuck commented
create a file inside your src
folder, named nim.cfg
and put the following content inside it:
threads:on
You might also remove the --threads:on
from your build_c_debug.nims
file
oskca commented
Adding nim.cfg
works, but vscode-nim
would ignore settings in config.nims
which shall be of the same functionality of nim.cfg
as the documentation said