Skip to content

Commit 33b37dd

Browse files
authored
Merge pull request #222 from vim-denops/v6-pre
Support Denops v6
2 parents 4b48d9f + 0019e2d commit 33b37dd

File tree

126 files changed

+3450
-2850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+3450
-2850
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- macos-latest
5858
- ubuntu-latest
5959
version:
60-
- "1.32.x"
60+
- "1.38.x"
6161
- "1.x"
6262
host_version:
6363
- vim: "v9.0.1499"
@@ -105,10 +105,10 @@ jobs:
105105
env:
106106
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable }}
107107
- name: Cache
108-
run: deno cache $(find . -name '*.ts')
108+
run: deno cache ./**/*.ts
109109
working-directory: ./repo
110110
- name: Test
111-
run: deno task test
111+
run: deno task test:coverage
112112
env:
113113
DENOPS_TEST_DENOPS_PATH: "../denops.vim"
114114
DENOPS_TEST_VIM_EXECUTABLE: ${{ steps.vim.outputs.executable }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.tools
22
/.coverage
3+
/docs
34
deno.lock
45

scripts/gen-function/format.ts renamed to .scripts/gen-function/format.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Definition, Variant } from "./types.ts";
22

3-
const denops = "https://deno.land/x/denops_core@v5.0.0/mod.ts";
3+
const denops = "https://deno.land/x/denops_core@v6.0.5/mod.ts";
44

55
const translate: Record<string, string> = {
66
"*cmd": "cmd",
@@ -16,6 +16,8 @@ const translate: Record<string, string> = {
1616
"fname-two": "fname_two",
1717
"function": "function_",
1818
"lnum-end": "lnum_end",
19+
"instanceof": "instanceof_",
20+
"class": "class_",
1921
};
2022

2123
export function formatDocs(docs: string): string[] {

scripts/gen-function/gen-function.ts renamed to .scripts/gen-function/gen-function.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ import {
22
difference,
33
intersection,
44
} from "https://deno.land/x/set_operations@v1.1.1/mod.ts";
5-
import * as path from "https://deno.land/std@0.205.0/path/mod.ts";
5+
import * as path from "https://deno.land/std@0.214.0/path/mod.ts";
66
import { parse } from "./parse.ts";
77
import { format } from "./format.ts";
88
import { DOCS_OVERRIDES } from "./override.ts";
99
import { transform } from "./transform.ts";
1010
import { downloadString } from "../utils.ts";
1111

12-
const VIM_VERSION = "9.0.1499";
13-
const NVIM_VERSION = "0.8.0";
12+
const VIM_VERSION = "9.0.2189";
13+
const NVIM_VERSION = "0.9.4";
1414

15-
const commonGenerateModule = "../../denops_std/function/_generated.ts";
16-
const vimGenerateModule = "../../denops_std/function/vim/_generated.ts";
17-
const nvimGenerateModule = "../../denops_std/function/nvim/_generated.ts";
15+
const commonGenerateModule = "../../function/_generated.ts";
16+
const vimGenerateModule = "../../function/vim/_generated.ts";
17+
const nvimGenerateModule = "../../function/nvim/_generated.ts";
1818

19-
const commonManualModule = "../../denops_std/function/_manual.ts";
20-
const vimManualModule = "../../denops_std/function/vim/_manual.ts";
21-
const nvimManualModule = "../../denops_std/function/nvim/_manual.ts";
19+
const commonManualModule = "../../function/_manual.ts";
20+
const vimManualModule = "../../function/vim/_manual.ts";
21+
const nvimManualModule = "../../function/nvim/_manual.ts";
2222

2323
const manualModules = [
2424
commonManualModule,
File renamed without changes.
File renamed without changes.
File renamed without changes.

scripts/gen-option/format.ts renamed to .scripts/gen-option/format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Option, OptionScope, OptionType } from "./types.ts";
22

3-
const denops = "https://deno.land/x/denops_core@v5.0.0/mod.ts";
3+
const denops = "https://deno.land/x/denops_core@v6.0.5/mod.ts";
44

55
const translate: Record<string, string> = {
66
"default": "defaultValue",

scripts/gen-option/gen-option.ts renamed to .scripts/gen-option/gen-option.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ import {
22
difference,
33
intersection,
44
} from "https://deno.land/x/set_operations@v1.1.1/mod.ts";
5-
import * as path from "https://deno.land/std@0.205.0/path/mod.ts";
5+
import * as path from "https://deno.land/std@0.214.0/path/mod.ts";
66
import { parse } from "./parse.ts";
77
import { format } from "./format.ts";
88
import { DOCS_OVERRIDES } from "./override.ts";
99
import { transform } from "./transform.ts";
1010
import { downloadString } from "../utils.ts";
1111

12-
const VIM_VERSION = "9.0.1499";
13-
const NVIM_VERSION = "0.8.0";
12+
const VIM_VERSION = "9.0.2189";
13+
const NVIM_VERSION = "0.9.4";
1414

15-
const commonGenerateModule = "../../denops_std/option/_generated.ts";
16-
const vimGenerateModule = "../../denops_std/option/vim/_generated.ts";
17-
const nvimGenerateModule = "../../denops_std/option/nvim/_generated.ts";
15+
const commonGenerateModule = "../../option/_generated.ts";
16+
const vimGenerateModule = "../../option/vim/_generated.ts";
17+
const nvimGenerateModule = "../../option/nvim/_generated.ts";
1818

19-
const commonManualModule = "../../denops_std/option/_manual.ts";
20-
const vimManualModule = "../../denops_std/option/vim/_manual.ts";
21-
const nvimManualModule = "../../denops_std/option/nvim/_manual.ts";
19+
const commonManualModule = "../../option/_manual.ts";
20+
const vimManualModule = "../../option/vim/_manual.ts";
21+
const nvimManualModule = "../../option/nvim/_manual.ts";
2222

2323
const manualModules = [
2424
commonManualModule,

0 commit comments

Comments
 (0)