Closed nabezokodaikon closed 2 years ago
Canceling a file name entry with <C-c> causes an error.
<C-c>
No error occurs when canceling file name entry.
ddu-ui-filer version (SHA1):10f5fa8d4268847e4fa5f865549443b2e2e802a8
denops.vim version (SHA1):a40e0c10be0c67b5fd6cb9713914b9259dafa7e2
deno version(deno -V output): deno 1.24.1
deno -V
deno 1.24.1
OS: Mac
neovim/Vim :version output:
:version
NVIM v0.8.0-dev-2225-gb8dcbcc73 Build type: Release LuaJIT 2.1.0-beta3
~/.config/nvim/init.lua
vim.cmd('syntax off') vim.cmd('filetype off') vim.cmd('filetype plugin indent off') local cache_dir = vim.env.HOME .. '/.cache' local dein_dir = cache_dir .. '/dein' local dein_repo_dir = dein_dir .. '/repos/github.com/Shougo/dein.vim' if not string.match(vim.o.runtimepath, '/dein.vim') then if vim.fn.isdirectory(dein_repo_dir) ~= 1 then os.execute('git clone https://github.com/Shougo/dein.vim ' .. dein_repo_dir) end vim.o.runtimepath = dein_repo_dir .. ',' .. vim.o.runtimepath end if vim.call('dein#min#load_state', dein_dir) ~= 1 then return end vim.call('dein#begin', dein_dir) vim.call('dein#add', 'vim-denops/denops.vim') vim.call('dein#add', 'Shougo/ddu.vim') vim.call('dein#add', 'Shougo/ddu-commands.vim') vim.call('dein#add', 'Shougo/ddu-ui-filer') vim.call('dein#add', 'Shougo/ddu-kind-file') vim.call('dein#add', 'Shougo/ddu-source-file') vim.call('dein#add', 'Shougo/ddu-column-filename') vim.call('dein#end') vim.call('dein#save_state') vim.call('ddu#custom#patch_global', 'uiOptions', {filer = { toggle = true, }}) vim.call('ddu#custom#patch_global', 'uiParams', {filer = { split ='no', toggle = true, }}) function ddu_filer_my_settings() vim.keymap.set('n', 'n', "<Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'newFile'})<CR>", { noremap = true, buffer = true }) end local ddu_filer_groupname = 'ddu-filer-group' vim.api.nvim_create_augroup(ddu_filer_groupname, { clear = true }) vim.api.nvim_create_autocmd('FileType', { group = ddu_filer_groupname, pattern = 'ddu-filer', callback = ddu_filer_my_settings }) vim.keymap.set('n', 'e', '<cmd>Ddu -ui=filer -source-option-columns=filename file<CR>', {}) vim.cmd('syntax on') vim.cmd('filetype on') vim.cmd('filetype plugin indent on')
call dein#update()
Please update ddu-kind-file to the latest.
ddu-kind-file
Confirmed. Thank you.
Problems summary
Canceling a file name entry with
<C-c>
causes an error.Expected
No error occurs when canceling file name entry.
Environment Information
ddu-ui-filer version (SHA1):10f5fa8d4268847e4fa5f865549443b2e2e802a8
denops.vim version (SHA1):a40e0c10be0c67b5fd6cb9713914b9259dafa7e2
deno version(
deno -V
output):deno 1.24.1
OS: Mac
neovim/Vim
:version
output:Provide a minimal init.vim/vimrc without plugin managers (Required!)
~/.config/nvim/init.lua
How to reproduce the problem from neovim/Vim startup (Required!)
call dein#update()
command.<C-c>
key.Screenshot (if possible)