wilder.nvim icon indicating copy to clipboard operation
wilder.nvim copied to clipboard

No history is saved

Open Dich0tomy opened this issue 3 years ago • 6 comments

Hey. After a while of using wilder I noticed that history is not being saved. What can I do about this? This is my config:

local wilder = require 'wilder'

wilder.setup {
	modes = {':', '/', '?'},
	next_key = '<Tab>',
	previous_key = '<S-Tab>',
}

wilder.set_option('pipeline', {
	wilder.branch(
		wilder.cmdline_pipeline(),
		wilder.search_pipeline()
	),
})

wilder.set_option('renderer', wilder.wildmenu_renderer({
	highlighter = wilder.basic_highlighter(),
	separator = ' · ',
	left = {' ', wilder.wildmenu_spinner(), ' '},
	right = {' ', wilder.wildmenu_index()},
}))

Dich0tomy avatar Aug 17 '22 08:08 Dich0tomy

Thanks for the bug report! I'm not able to reproduce this at the moment.

Could you provide the output of :version?

This might caused by https://github.com/gelguy/wilder.nvim/issues/30. For older versions of Neovim (0.5 and lower), the <Up> and <Down> keys don't work correctly in cmdline mode.

gelguy avatar Aug 17 '22 12:08 gelguy

Alright. So I noticed the history only works locally, but not across runs.

https://user-images.githubusercontent.com/75364377/185116682-fc4c9aab-b650-4bc3-be08-617e47da1428.mp4

The output of :version is

NVIM v0.8.0-dev-788-g0fdf59ac9
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az177-443

Features -acl +iconv +tui
...

Dich0tomy avatar Aug 17 '22 12:08 Dich0tomy

Does this occur in terminal Neovim? Or only in Neovide.

I wasn't able to set up Neovide correctly for Debian, so I'm unable to debug it at the moment.

gelguy avatar Aug 18 '22 12:08 gelguy

Nope, not saved in console nor nvim-qt.

Dich0tomy avatar Aug 18 '22 15:08 Dich0tomy

A few more questions:

  1. Does this occur even when wilder is removed?
  2. Does this occur when disabling wilder before quitting Neovim (with :call wilder#disable())?

gelguy avatar Aug 21 '22 03:08 gelguy

Alright that's really weird but it looks that it happens even without wilder, in nvim-qt, nvim and neovide. So it appears there's something wrong with my enviroment/configuration.

Dich0tomy avatar Aug 21 '22 12:08 Dich0tomy