'Can I set nullable context in `omnisharp.json`?

I am using vscode C# extension to manage a few csx scripts.

It is lightweight, only requires omnisharp.json as config (no need of .csproj)

However, by default it doesn't enable nullable context even though I have

    "script": {
      "enableScriptNuGetReferences": true,
      "defaultTargetFramework": "net6.0"
    }

I know I can simply add #nullable enable at the top of csx. But I am wondering if there is a way to toggle it via the omnisharp.json. Something like <Nullable>enable</Nullable> in .csproj



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source