Sailendra Dash
Sailendra Dash
> I actually use vscode-textmate in monaco in my project. Do you know how to make the bracket coloring work there? > > EDIT: > > I made it working...
> I used `monaco-tm` example as given in the FAQ of the monaco-editor documentation. There you have the `loadGrammarWithConfiguration`: > > https://github.com/bolinfest/monaco-tm/blob/master/src/providers.ts#L200 > > which has a type of `registry:...
> You probably need to update both vscode-textmate and onigurama to the latest versions. It's already latest version , in registry.loadGrammarwithConfiguration'3 3rd argument type is IGrammarConfiguration and it's interface `export...
> vscode-textmate v7.0.1 contains release/main.d.ts that contains: > > ``` > export interface IGrammarConfiguration { > embeddedLanguages?: IEmbeddedLanguagesMap; > tokenTypes?: ITokenTypeMap; > balancedBracketSelectors?: string[]; > unbalancedBracketSelectors?: string[]; > } >...