Skip to content

Commit 708e045

Browse files
committed
🌿 Fix documentation example code
1 parent a300aa0 commit 708e045

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

denops_std/bufname/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export const bufnameUnusablePattern = /["<>\|\?\*]/g;
99
* Users must encode the percent character themselves before using this
1010
* function like:
1111
*
12-
* ```
12+
* ```typescript
13+
* import { encode } from "./utils.ts";
14+
*
1315
* const expr = "%Hello world%";
1416
* const encoded = encode(expr.replaceAll("%", "%25"));
1517
* ```

0 commit comments

Comments
 (0)