CodeMirror 6: stream-syntax with custom tags

That’s assigning to library-internal objects though, which is a bit dodgy.

Does the patch below look like it’d address this use case for you?