nothingislost / obsidian-dynamic-highlights

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

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

Open zhao414 opened 1 year ago

zhao414 commented 1 year ago
image

it seems that Debouncer needs to parameters.

zhao414 commented 1 year 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?