You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but, when using it, nothing happens, unless I have previously set a selection.
If preview = true, then I get this error:
Error executing vim.schedule lua callback: .../share/nvim/lazy/decipher.nvim/lua/decipher/ui/float.lua:275: 'height' key must be a positive Integer
stack traceback:
[C]: in function 'nvim_win_set_config'
.../share/nvim/lazy/decipher.nvim/lua/decipher/ui/float.lua:275: in function 'render_page'
.../share/nvim/lazy/decipher.nvim/lua/decipher/ui/float.lua:407: in function 'switch_to_page'
.../share/nvim/lazy/decipher.nvim/lua/decipher/ui/float.lua:538: in function 'open'
...ocal/share/nvim/lazy/decipher.nvim/lua/decipher/init.lua:87: in function 'open_float_handler'
...ocal/share/nvim/lazy/decipher.nvim/lua/decipher/init.lua:135: in function 'process_codec'
...ocal/share/nvim/lazy/decipher.nvim/lua/decipher/init.lua:151: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
The plugin works with a minimal repro.lua, but doesn't with telescope-ui-select. Probably that plugin is not passing the selection to decipher? Not sure who the culprit is.
I attach a video as well
Screen.Recording.2026-04-01.at.09.21.57.mp4
Notes:
I'm using the most recent version of decipher from add-commands branch. Here's some info.
Lazy Log:
○ decipher.nvim
ba9ae0c Add tests for invalid command arguments (4 days ago)
44d123d Remove print statement (5 days ago)
459a13c Minor type fixes (5 days ago)
33f1db4 Add commands (5 days ago)
be80ebe Bump to v3.0.0 (#35) (6 weeks ago)
adb89de Support writeback (#33) (9 weeks ago)
2f511f2 Bump to v2.1.0 (#34) (6 months ago)
9e92ebd Add codecs from vim-unimpaired (#30) (6 months ago)
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.7 - Release
Operating system/version
MacOS Tahoe 26.4
Describe the bug
I have
require('decipher').encode_selection_prompt { preview = false }set in a keymap in visual mode:but, when using it, nothing happens, unless I have previously set a selection.
If preview = true, then I get this error:
The plugin works with a minimal repro.lua, but doesn't with telescope-ui-select. Probably that plugin is not passing the selection to decipher? Not sure who the culprit is.
I attach a video as well
Screen.Recording.2026-04-01.at.09.21.57.mp4
Notes:
I'm using the most recent version of decipher from add-commands branch. Here's some info.
Lazy Log:
Decipher config:
Output of
:checkhealth decipher==============================================================================
decipher: 1 ❌
Steps To Reproduce
Steps to get empty behaviour:
nvim -u repro.luaSteps to see it's not getting the new selection:
nvim -u repro.lua*My example:
Expected Behavior
Selected text in visual mode gets correctly encoded
Repro