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

Animation doesn’t start #5

Open
fabi1cazenave opened this issue Nov 29, 2022 · 3 comments
Open

Animation doesn’t start #5

fabi1cazenave opened this issue Nov 29, 2022 · 3 comments

Comments

@fabi1cazenave
Copy link

This doesn’t seem to work at all on my computer:
Neovim 0.8.1, treesitter 0.1.x branch, running on Ubuntu 22.04.

Steps to reproduce

  • start nvim
  • :CellularAutomaton make_it_rain

Expected result

animation bliss

Actual result

Error executing Lua callback: .../cellular-automaton.nvim/lua/cellular-automaton/load.lua:84: attempt to index a nil value                                                                                                                     
stack traceback:                                                                                                                                                                                                                               
        .../cellular-automaton.nvim/lua/cellular-automaton/load.lua:84: in function 'load_base_grid'                                                                                                                                           
        ...llular-automaton.nvim/lua/cellular-automaton/manager.lua:38: in function 'execute_animation'                                                                                                                                        
        .../cellular-automaton.nvim/lua/cellular-automaton/init.lua:42: in function 'start_animation'                                                                                                                                          
        ...rt/cellular-automaton.nvim/plugin/cellular-automaton.lua:16: in function <...rt/cellular-automaton.nvim/plugin/cellular-automaton.lua:15>                                                                                           
Press ENTER or type command to continue
@fabi1cazenave
Copy link
Author

fabi1cazenave commented Nov 29, 2022

Ooops, my bad. I works on some files, but not on my init.lua.

Awesome work! :-)

@Eandrju
Copy link
Owner

Eandrju commented Nov 29, 2022

Would you mind sharing your init.lua? I'd like to debug, why the animation crashes

@fabi1cazenave
Copy link
Author

I will push my exact config later tonight, but you should be able to reproduce the issue with this one:

https://github.com/fabi1cazenave/dotFiles/blob/master/config/nvim/init.lua

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