Using a profile for stub runs the language server raises a warning saying that the option stubRun is unrecognized.
To reproduce
$ echo "profiles {
stub {
stubRun = true
}
}
" > nextflow.config
Using to option this way does work however, so I think this is a bug in the language server.