Skip to content

Neovim Deno 2.3.5 以上で Deno KV を使っているとフリーズ #438

@Shougo

Description

@Shougo

Describe the bug

Neovim Deno 2.3.5 以上で denops プラグインが Deno KV を使っているとフリーズします。
Vim や Deno 2.3.4 以下なら問題ありません。

Provide a minimal vimrc with less than 50 lines to reproduce

set rtp+=~/work/skkeleton
set rtp+=~/work/denops.vim

let g:denops#server#deno_args = [
    \   '-q',
    \   '-A',
    \ ]

" NOTE: for Deno KV storage
let g:denops#server#deno_args += ['--unstable-kv']

call skkeleton#config(#{
      \   databasePath: '~/.cache/skkeleton.db'->expand(),
      \   sources: ["deno_kv"],
      \ })

inoremap <C-j> <Plug>(skkeleton-toggle)

How to reproduce the problem from Vim startup

It must be Neovim

Enter insert mode

Press <C-j>

Expected behavior

No freeze

Actual behavior

Freeze

Screenshots (if need)

Your environment

  • OS: Linux shougo-Thinkpad-T14 6.14.6-2-MANJARO #1 SMP PREEMPT_DYNAMIC Wed, 14 May 2025 14:56:34 +0000 x86_64 GNU/Linux
  • Deno version: deno 2.3.6 (stable, release, x86_64-unknown-linux-gnu)
  • Vim/Neovim version: NVIM v0.12.0-dev-7197+g0d658660c2
  • Denops version: commit 387fe5771a51b613e21212719414570b96ea8c8e

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions