feat: add stat completion source
Implement a new completion source that extracts stat definitions from markdown files using `yaml` or `csv` code blocks with `role=stat`.
This commit is contained in:
@@ -43,8 +43,9 @@ function parseEntry(raw: string): JournalDocEntry | null {
|
||||
|
||||
import journalGmRaw from "../doc-entries/journal-gm.md";
|
||||
import journalPlayerRaw from "../doc-entries/journal-player.md";
|
||||
import journalStatRaw from "../doc-entries/journal-stat.md";
|
||||
|
||||
const rawDocuments: string[] = [journalGmRaw, journalPlayerRaw];
|
||||
const rawDocuments: string[] = [journalGmRaw, journalPlayerRaw, journalStatRaw];
|
||||
|
||||
let _entries: JournalDocEntry[] | null = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user