Skip to content

Commit eee23a6

Browse files
authored
Merge pull request #209 from vim-denops/v5
🎉 denops_std v5 (for denops v5)
2 parents 3e47b32 + 43d9cd5 commit eee23a6

Some content is hidden

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

82 files changed

+3110
-2107
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
- macos-latest
5555
- ubuntu-latest
5656
version:
57-
- "1.28.0"
57+
- "1.32.x"
5858
- "1.x"
5959
host_version:
60-
- vim: "v9.0.0472"
60+
- vim: "v9.0.1499"
6161
nvim: "v0.8.0"
6262
runs-on: ${{ matrix.runner }}
6363
timeout-minutes: 15
@@ -85,7 +85,10 @@ jobs:
8585
with:
8686
vim_type: "Vim"
8787
vim_version: "${{ matrix.host_version.vim }}"
88-
download: "never"
88+
# NOTE:
89+
# On Linux, Vim must be built from source to fix `input` issue
90+
# https://github.com/thinca/action-setup-vim/issues/11
91+
download: "${{ (runner.OS == 'Linux' && 'never') || 'available' }}"
8992
- name: Check Vim
9093
run: |
9194
echo ${DENOPS_TEST_VIM}
@@ -103,6 +106,9 @@ jobs:
103106
${DENOPS_TEST_NVIM} --version
104107
env:
105108
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable_path }}
109+
- name: Cache
110+
run: deno cache $(find . -name '*.ts')
111+
working-directory: ./repo
106112
- name: Test
107113
run: deno task test
108114
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/.tools
2+
deno.lock

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🐜 denops_std
22

3-
[![Vim 9.0.0472 or above](https://img.shields.io/badge/Vim-Support%209.0.0472-yellowgreen.svg?logo=vim)](https://github.com/vim/vim/tree/v9.0.0472)
3+
[![Vim 9.0.1499 or above](https://img.shields.io/badge/Vim-Support%209.0.1499-yellowgreen.svg?logo=vim)](https://github.com/vim/vim/tree/v9.0.1499)
44
[![Neovim 0.8.0 or above](https://img.shields.io/badge/Neovim-Support%200.8.0-yellowgreen.svg?logo=neovim&logoColor=white)](https://github.com/neovim/neovim/tree/v0.8.0)
55
[![Test](https://github.com/vim-denops/deno-denops-std/actions/workflows/test.yml/badge.svg)](https://github.com/vim-denops/deno-denops-std/actions/workflows/test.yml)
66
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/denops_std/mod.ts)

deno.jsonc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"lock": false,
33
"tasks": {
4-
"test": "deno test --no-lock --unstable -A --doc --parallel --shuffle",
5-
"check": "deno check --no-lock --unstable $(find . -name '*.ts')",
6-
"upgrade": "deno run --no-lock -A https://deno.land/x/udd/main.ts $(find . -name '*.ts')",
7-
"gen:function": "deno run --no-lock --unstable -A ./scripts/gen-function/gen-function.ts",
8-
"gen:option": "deno run --no-lock --unstable -A ./scripts/gen-option/gen-option.ts",
4+
"test": "deno test --unstable -A --doc --parallel --shuffle",
5+
"check": "deno check --unstable $(find . -name '*.ts')",
6+
"upgrade": "deno run -A https://deno.land/x/udd/main.ts $(find . -name '*.ts')",
7+
"gen:function": "deno run --unstable -A ./scripts/gen-function/gen-function.ts",
8+
"gen:option": "deno run --unstable -A ./scripts/gen-option/gen-option.ts",
99
"gen": "deno task gen:function && deno task gen:option && deno fmt"
1010
}
1111
}

denops_std/anonymous/mod.ts

Lines changed: 0 additions & 182 deletions
This file was deleted.

denops_std/anonymous/mod_test.ts

Lines changed: 0 additions & 98 deletions
This file was deleted.

denops_std/argument/flags_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.186.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22
import { parseFlags } from "./flags.ts";
33

44
Deno.test("parseFlags", () => {

denops_std/argument/mod_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.186.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22
import { parse } from "./mod.ts";
33

44
Deno.test("parse", () => {

denops_std/argument/opts_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.186.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22
import { parseOpts } from "./opts.ts";
33

44
Deno.test("parseOpts", () => {

denops_std/autocmd/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
1+
import { Denops } from "https://deno.land/x/denops_core@v5.0.0/mod.ts";
22
import {
33
AutocmdEvent,
44
DefineOptions,

denops_std/autocmd/common_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { assertEquals } from "https://deno.land/std@0.186.0/testing/asserts.ts";
2-
import { test } from "https://deno.land/x/denops_test@v1.1.0/mod.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
2+
import { test } from "https://deno.land/x/denops_test@v1.3.1/mod.ts";
33
import { globals } from "../variable/mod.ts";
44
import { define, emit, emitAll, list, remove } from "./common.ts";
55

denops_std/autocmd/group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
1+
import type { Denops } from "https://deno.land/x/denops_core@v5.0.0/mod.ts";
22
import { execute } from "../helper/execute.ts";
33
import { AutocmdEvent, DefineOptions, RemoveOptions } from "./types.ts";
44
import { buildDefineExpr, buildRemoveExpr } from "./utils.ts";

denops_std/autocmd/group_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { assertEquals } from "https://deno.land/std@0.186.0/testing/asserts.ts";
2-
import { test } from "https://deno.land/x/denops_test@v1.1.0/mod.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
2+
import { test } from "https://deno.land/x/denops_test@v1.3.1/mod.ts";
33
import { globals } from "../variable/mod.ts";
44
import { group } from "./group.ts";
55

denops_std/batch/batch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type {
33
Denops,
44
Dispatcher,
55
Meta,
6-
} from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
6+
} from "https://deno.land/x/denops_core@v5.0.0/mod.ts";
77

88
type Redraw = undefined | boolean;
99

0 commit comments

Comments
 (0)