mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-20 20:05:34 +00:00
feat: match pdf images for path completion (#2205)
This commit is contained in:
parent
f011022097
commit
6b6a1bdad2
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ impl PathKind {
|
||||||
static IMAGE_REGSET: RegSet = RegSet::new(|| {
|
static IMAGE_REGSET: RegSet = RegSet::new(|| {
|
||||||
make_regex(&[
|
make_regex(&[
|
||||||
"ico", "bmp", "png", "webp", "jpg", "jpeg", "jfif", "tiff", "gif", "svg", "svgz",
|
"ico", "bmp", "png", "webp", "jpg", "jpeg", "jfif", "tiff", "gif", "svg", "svgz",
|
||||||
|
"pdf",
|
||||||
])
|
])
|
||||||
});
|
});
|
||||||
static JSON_REGSET: RegSet = RegSet::new(|| make_regex(&["json", "jsonc", "json5"]));
|
static JSON_REGSET: RegSet = RegSet::new(|| make_regex(&["json", "jsonc", "json5"]));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue