nim.vim
nim.vim copied to clipboard
Compile with threads:on
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?
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.
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.