Closed 502647092 closed 1 year ago
According to the default TextMate tokenizer option, the line limit is 400 characters. If one of the lines has exceeded this limit, the TextMate tokenizer in the subsequent lines will be broken.
how to config this prop
It does not look like it can be configured by a user only by a language contributor: https://github.com/theia-ide/theia/blob/5862b11c5809382e62ea9ea82e8ab03b14ad4a58/packages/monaco/src/browser/textmate/textmate-registry.ts#L21
We could introduce an option to override it per a language or file matching that a user can work it around.
Description
Reproduction Steps
OS and Theia version: latest next version
Diagnostics: