1
- import type { Denops } from "../mod.ts " ;
2
- import {
1
+ import type { Denops } from "@denops/core " ;
2
+ import type {
3
3
AutocmdEvent ,
4
4
DefineOptions ,
5
5
EmitOptions ,
@@ -12,8 +12,8 @@ import { buildDefineExpr, buildRemoveExpr } from "./_utils.ts";
12
12
* Define an autocmd
13
13
*
14
14
* ```typescript
15
- * import type { Entrypoint } from "https://deno.land/x/denops_std@$MODULE_VERSION/mod.ts ";
16
- * import * as autocmd from "https://deno.land/x/denops_std@$MODULE_VERSION/autocmd/mod.ts ";
15
+ * import type { Entrypoint } from "jsr:@denops/std ";
16
+ * import * as autocmd from "jsr:@denops/std/autocmd ";
17
17
*
18
18
* export const main: Entrypoint = async (denops) => {
19
19
* // Define new autocmd for BufEnter
@@ -54,8 +54,8 @@ export async function define(
54
54
* Remove an autocmd
55
55
*
56
56
* ```typescript
57
- * import type { Entrypoint } from "https://deno.land/x/denops_std@$MODULE_VERSION/mod.ts ";
58
- * import * as autocmd from "https://deno.land/x/denops_std@$MODULE_VERSION/autocmd/mod.ts ";
57
+ * import type { Entrypoint } from "jsr:@denops/std ";
58
+ * import * as autocmd from "jsr:@denops/std/autocmd ";
59
59
*
60
60
* export const main: Entrypoint = async (denops) => {
61
61
* // Remove BufEnter autocmd
@@ -88,8 +88,8 @@ export async function remove(
88
88
* List defined autocmds
89
89
*
90
90
* ```typescript
91
- * import type { Entrypoint } from "https://deno.land/x/denops_std@$MODULE_VERSION/mod.ts ";
92
- * import * as autocmd from "https://deno.land/x/denops_std@$MODULE_VERSION/autocmd/mod.ts ";
91
+ * import type { Entrypoint } from "jsr:@denops/std ";
92
+ * import * as autocmd from "jsr:@denops/std/autocmd ";
93
93
*
94
94
* export const main: Entrypoint = async (denops) => {
95
95
* // List all autocmd
@@ -138,8 +138,8 @@ export async function list(
138
138
* Emit an autocmd in a buffer
139
139
*
140
140
* ```typescript
141
- * import type { Entrypoint } from "https://deno.land/x/denops_std@$MODULE_VERSION/mod.ts ";
142
- * import * as autocmd from "https://deno.land/x/denops_std@$MODULE_VERSION/autocmd/mod.ts ";
141
+ * import type { Entrypoint } from "jsr:@denops/std ";
142
+ * import * as autocmd from "jsr:@denops/std/autocmd ";
143
143
*
144
144
* export const main: Entrypoint = async (denops) => {
145
145
* // Emit an autocmd in a current buffer
@@ -182,8 +182,8 @@ export async function emit(
182
182
* Emit an autocmd in all buffers
183
183
*
184
184
* ```typescript
185
- * import type { Entrypoint } from "https://deno.land/x/denops_std@$MODULE_VERSION/mod.ts ";
186
- * import * as autocmd from "https://deno.land/x/denops_std@$MODULE_VERSION/autocmd/mod.ts ";
185
+ * import type { Entrypoint } from "jsr:@denops/std ";
186
+ * import * as autocmd from "jsr:@denops/std/autocmd ";
187
187
*
188
188
* export const main: Entrypoint = async (denops) => {
189
189
* // Emit an autocmd in all buffers
0 commit comments