15 lines
365 B
TypeScript
15 lines
365 B
TypeScript
import { LRLanguage, LanguageSupport } from '@codemirror/language';
|
|
|
|
/**
|
|
A language provider based on the [Lezer C++
|
|
parser](https://github.com/lezer-parser/cpp), extended with
|
|
highlighting and indentation information.
|
|
*/
|
|
declare const cppLanguage: LRLanguage;
|
|
/**
|
|
Language support for C++.
|
|
*/
|
|
declare function cpp(): LanguageSupport;
|
|
|
|
export { cpp, cppLanguage };
|