nothingislost / obsidian-dynamic-highlights

An experimental Obsidian plugin that highlights all occurrences of the word under the cursor
MIT License
132 stars 7 forks source link

I try to rebuild the js from the ts but get an error #77

Open zhao414 opened 11 months ago

zhao414 commented 11 months ago
image

it seems that Debouncer needs to parameters.

zhao414 commented 11 months ago

And I try to change this line into:

image

the vscode does not bring any error message.

However, when this new js is loaded by Obsidian, the plugin does not run, and the obsidian returns a different error message:

image

it points to this line:

tokenizers: [descendant, unitToken, identifiers, 1, 2, 3, 4, new import_lr.LocalTokenGroup("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~", 28, 102)],

I don't know what it is and where is it.

Could you please have a look at the source code?