UNPKG

@jupyter-lsp/jupyterlab-lsp

Version:

Language Server Protocol integration for JupyterLab

25 lines (22 loc) 993 B
/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * If a code editor includes a code fragment in another language (for example a %%markdown magic in IPython) with appropriate foreign code extractor defined, and the extend of this code (coverage of the editor) passes the threshold, the syntax highlighting (i.e. the mode) will change to provide highlighting for the language of the foreign code. */ export type ThresholdOfForeignCodeCoverageForChangingTheModeInAnEditor = number; /** * Disable this feature. Requires reloading JupyterLab to apply changes. */ export type Disable = boolean; /** * LSP code syntax highlighting settings. */ export interface CodeSyntax { foreignCodeThreshold?: ThresholdOfForeignCodeCoverageForChangingTheModeInAnEditor; disable?: Disable; [k: string]: any; }