Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid key: title in function 'open_win' #90

Closed
falcomomo opened this issue May 4, 2023 · 1 comment
Closed

invalid key: title in function 'open_win' #90

falcomomo opened this issue May 4, 2023 · 1 comment

Comments

@falcomomo
Copy link

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

  • Neovim version: 0.8.3

  • wf version: latest stable

  • Plugin clash: Following is a list of plugins I have:

  • • LuaSnip

  • • auto-pairs

  • • cellular-automaton.nvim

  • • cloak.nvim

  • • cmp-buffer

  • • cmp-nvim-lsp

  • • cmp-nvim-lua

  • • cmp-path

  • • cmp_luasnip

  • • copilot.vim

  • • dracula.nvim

  • • friendly-snippets

  • • harpoon

  • • indent-blankline.nvim

  • • legendary.nvim

  • • lsp-zero.nvim

  • • lualine.nvim

  • • mason-lspconfig.nvim

  • • mason.nvim

  • • nerdcommenter

  • • nui.nvim

  • • nvim-cmp

  • • nvim-lspconfig

  • • nvim-navbuddy

  • • nvim-navic

  • • nvim-treesitter

  • • nvim-treesitter-context

  • • nvim-web-devicons (not loaded)

  • • packer.nvim

  • • playground

  • • plenary.nvim

  • • refactoring.nvim

  • • telescope-fzf-native.nvim

  • • telescope.nvim

  • • trouble.nvim

  • • undotree

  • • vim-fugitive

  • • vim-merginal

  • • vim-visual-multi

  • • wf.nvim

  • • which-key.nvim

  • • zen-mode.nvim

Cassin01 added a commit that referenced this issue May 5, 2023
@Cassin01 Cassin01 reopened this May 5, 2023
@Cassin01
Copy link
Owner

Cassin01 commented May 5, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants