Skip to content

Commit 963be00

Browse files
committed
🐛 Emit DenopsSystemPluginPre before loading plugin
1 parent 9dd9ae9 commit 963be00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

denops/@denops-private/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ class Plugin {
144144

145145
async load(suffix = ""): Promise<void> {
146146
try {
147-
const mod = await import(`${this.script}${suffix}`);
148147
await emit(this.#denops, `DenopsSystemPluginPre:${this.name}`);
148+
const mod = await import(`${this.script}${suffix}`);
149149
await mod.main(this.#denops);
150150
await emit(this.#denops, `DenopsSystemPluginPost:${this.name}`);
151151
} catch (e) {

0 commit comments

Comments
 (0)