Cassin01 / wf.nvim

A modern which-key for neovim
MIT License
208 stars 3 forks source link

invalid key: title in function 'open_win' #90

Closed falcomomo closed 1 year ago

falcomomo commented 1 year ago

Description

Installed using the packer.nvim script given (stable version), and get this error on any action which triggers wf - eg. wbu, or wr, or pause.

Steps to reproduce

  1. Make any wf command - eg. wr
  2. Get a stacktrace
  3. image

Expected behavior

Expect the wf pop-up to load

Environment

Cassin01 commented 1 year ago

Fix to disallow use of title in neovim versions lower than v0.9.0. This is because title in nvim_open_win({buffer}, {enter}, {*config}) is unstable in neovim version 0.8 and the behavior when title is used is not stable. Thank you for teaching!