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

unknow option 'splitkeep' in neovim 0.8.2 #202

Closed
y1rn opened this issue Jan 5, 2023 · 2 comments
Closed

unknow option 'splitkeep' in neovim 0.8.2 #202

y1rn opened this issue Jan 5, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@y1rn
Copy link

y1rn commented Jan 5, 2023

Describe the bug
show unknow option 'splitkeep' error.

System information

  • OS: linux
  • Neovim version: 0.8.2
  • Aerial config:
require("aerial").setup {}

To Reproduce
while jumping to declaration.

Screenshots

Additional context

need to change splitkeep option checking from:

if vim.o.splitkeep and vim.o.splitkeep ~= "cursor" then

to

 if vim.fn.exists('&splitkeep') == 1 and vim.o.splitkeep ~= "cursor"
@y1rn y1rn added the bug Something isn't working label Jan 5, 2023
@prgres
Copy link

prgres commented Jan 5, 2023

Same happens to me and above solution works

@stevearc
Copy link
Owner

stevearc commented Jan 5, 2023

Thanks for the report! Fixed and regression tests added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants