nim.vim icon indicating copy to clipboard operation
nim.vim copied to clipboard

Compile with threads:on

Open tylertreat opened this issue 10 years ago • 2 comments

I'm new to nim, but when I try to use threading mechanisms like TThread, I get the error undeclared identifier: 'TThread'. I believe this is because you must compile with --threads:on. How does one do that with this plugin?

tylertreat avatar May 28 '15 21:05 tylertreat

The best approach here is to create a nim.cfg file for your project. This will allow all Nim commands to work in their most simple form from the command-line and this will eliminate the issue for the Vim plugin as well.

zah avatar May 19 '16 17:05 zah

Most other checkers on syntastic allow for passing arguments to the checker. Is this supported by nim.vim? I haven't been able to get --threads:on working.

AjBreidenbach avatar Aug 26 '17 17:08 AjBreidenbach