diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml
index 11d2cdd..9afaea4 100644
--- a/.github/workflows/deno.yml
+++ b/.github/workflows/deno.yml
@@ -1,7 +1,7 @@
name: deno
env:
- DENO_VERSION: 1.x
+ DENO_VERSION: 2.x
DENOPS_PATH: "./"
on:
@@ -46,3 +46,14 @@ jobs:
run: |
grep -rl Deno.test denops| xargs deno test --unstable -A
timeout-minutes: 5
+
+ deno-test-publish:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: denoland/setup-deno@main
+ with:
+ deno-version: ${{ env.DENO_VERSION }}
+
+ - name: Test Publish
+ run: deno task test:publish
diff --git a/.github/workflows/jsr.yml b/.github/workflows/jsr.yml
index 2de3f3a..be42ca4 100644
--- a/.github/workflows/jsr.yml
+++ b/.github/workflows/jsr.yml
@@ -1,7 +1,7 @@
name: jsr
env:
- DENO_VERSION: 1.x
+ DENO_VERSION: 2.x
on:
push:
@@ -19,9 +19,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - uses: denoland/setup-deno@v1
+ - uses: denoland/setup-deno@v2
with:
deno-version: ${{ env.DENO_VERSION }}
- name: Publish
run: |
- deno run -A jsr:@david/publish-on-tag@0.1.3
+ deno run -A jsr:@david/publish-on-tag@0.2.0
diff --git a/README.md b/README.md
index cf7b8fb..5c2fb0e 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ see "FAQ" section in [help](doc/dpp.txt).
## Install
-**Note:** Dpp.vim requires Vim 9.1.0448+ or Neovim 0.10.0+. See
+**NOTE:** It requires Vim 9.1.0448+ or Neovim 0.10.0+. See
[requirements](#requirements) if you aren't sure whether you have this.
NOTE: To install plugins from remote, you need to install
@@ -39,7 +39,7 @@ NOTE: To install plugins from remote, you need to install
### Requirements
-Please install both Deno 1.45+ and "denops.vim" v7.0+.
+Please install both Deno 2.3.0+ and "denops.vim" v8.0+.
-
-
diff --git a/autoload/dpp/denops.vim b/autoload/dpp/denops.vim
index 5fed7bf..365cb74 100644
--- a/autoload/dpp/denops.vim
+++ b/autoload/dpp/denops.vim
@@ -41,8 +41,8 @@ function s:init() abort
return
endif
- if !has('patch-9.1.0448') && !has('nvim-0.10')
- call dpp#util#_error('dpp.vim requires Vim 9.1.0448+ or Neovim 0.10+.')
+ if !has('patch-9.1.1646') && !has('nvim-0.11')
+ call dpp#util#_error('dpp.vim requires Vim 9.1.1646+ or Neovim 0.11+.')
return 1
endif
@@ -91,7 +91,7 @@ function s:notify(method, args) abort
endif
endfunction
-const s:root_dir = ':h:h:h'->expand()
+const s:root_dir = '