Skip to content

Commit 93301f3

Browse files
committed
📦 Follow the latest deno std changes
`lt` was deprecated. https://deno.land/std@0.215.0/semver/mod.ts?s=lt
1 parent fe96803 commit 93301f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

function/getreginfo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Denops } from "../mod.ts";
2-
import { lt, parse } from "https://deno.land/std@0.217.0/semver/mod.ts";
2+
import { lessThan, parse } from "https://deno.land/std@0.217.0/semver/mod.ts";
33
import { execute } from "../helper/mod.ts";
44
import { ulid } from "https://deno.land/std@0.217.0/ulid/mod.ts";
55

@@ -71,7 +71,7 @@ export async function getreginfo(
7171
): Promise<unknown> {
7272
if (
7373
denops.meta.host === "vim" &&
74-
lt(parse(denops.meta.version), parse("9.0.936"))
74+
lessThan(parse(denops.meta.version), parse("9.0.936"))
7575
) {
7676
// Vim prior to 9.0.0936 need a workaround
7777
// https://github.com/vim/vim/issues/11598

0 commit comments

Comments
 (0)