deploy: v0.12 存档迁移+考古日志滚动条

This commit is contained in:
2026-06-24 03:04:38 +00:00
parent 4831505ef9
commit b4c6111516
58986 changed files with 7569452 additions and 31667 deletions
+27
View File
@@ -0,0 +1,27 @@
import { LRLanguage, Language, LanguageSupport } from '@codemirror/language';
/**
A language provider based on the [Lezer PHP
parser](https://github.com/lezer-parser/php), extended with
highlighting and indentation information.
*/
declare const phpLanguage: LRLanguage;
/**
PHP language support.
*/
declare function php(config?: {
/**
By default, the parser will treat content outside of `<?` and
`?>` markers as HTML. You can pass a different language here to
change that. Explicitly passing disables parsing of such content.
*/
baseLanguage?: Language | null;
/**
By default, PHP parsing only starts at the first `<?` marker.
When you set this to true, it starts immediately at the start of
the document.
*/
plain?: boolean;
}): LanguageSupport;
export { php, phpLanguage };