Skip to content

Commit 1abc671

Browse files
committed
☕ Remove duplicate codes
1 parent 8240c8a commit 1abc671

File tree

6 files changed

+4
-20
lines changed

6 files changed

+4
-20
lines changed

scripts/gen-function/gen-function.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as vimManual from "../../denops_std/function/vim/_manual.ts";
88
import * as nvimManual from "../../denops_std/function/nvim/_manual.ts";
99
import { parse } from "./parse.ts";
1010
import { format } from "./format.ts";
11-
import { downloadString } from "./utils.ts";
11+
import { downloadString } from "../utils.ts";
1212

1313
const VIM_VERSION = "9.0.0472";
1414
const NVIM_VERSION = "0.8.0";

scripts/gen-function/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Definition, Variant } from "./types.ts";
2-
import { Counter, regexIndexOf } from "./utils.ts";
2+
import { Counter, regexIndexOf } from "../utils.ts";
33

44
/**
55
* Parse Vim/Neovim help.

scripts/gen-option/gen-option.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as vimManual from "../../denops_std/option/vim/_manual.ts";
88
import * as nvimManual from "../../denops_std/option/nvim/_manual.ts";
99
import { parse } from "./parse.ts";
1010
import { format } from "./format.ts";
11-
import { downloadString } from "./utils.ts";
11+
import { downloadString } from "../utils.ts";
1212

1313
const VIM_VERSION = "9.0.0472";
1414
const NVIM_VERSION = "0.8.0";

scripts/gen-option/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { isOptionType, type Option, type OptionType } from "./types.ts";
2-
import { regexIndexOf } from "./utils.ts";
2+
import { regexIndexOf } from "../utils.ts";
33

44
const fallbackTypes: Record<string, OptionType> = {
55
"encoding": "string", // not defined type in nvim 0.8.0

scripts/gen-option/utils.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)