The Language package is a subset of the Editor package, and is the framework for extending the editor with color syntax highlighting, brace matching, and other language or content-specific editing features.

You begin with defining a LanguageModule that specifies the name of the module, the default file suffixes for the language, and the syntax highlight styles used by the module.

Next you define a LanguageSupport instance that is responsible for managing the DocumentRenderer used for syntax highlighting, the BraceProvider used for brace matching, and so on.