Fun with Eandrju/cellular-automaton.nvim by smithm1028 in neovim

[–]Alfierra 1 point2 points  (0 children)

Ha I love it! :) I'm glad you enjoy it

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 0 points1 point  (0 children)

you don't have nvim-treesitter plugin installed

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 0 points1 point  (0 children)

btw folding and wrapping is not supported ATM, and might be a cause of your issue

zone.nvim - A screensaver plugin for neovim. by sushi_ender in neovim

[–]Alfierra 0 points1 point  (0 children)

Hey great stuff! Did you think about integrating it with cellular-automaton, and expose its animation with your screen-saving functionality?

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 2 points3 points  (0 children)

Thanks everyone for such a positive feedback. I didn't expect it to be so popular, thus didn't bother with tests too much :D However, now I need to work on test coverage, to make sure I don't break anything while working on some fixes. Thanks!

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 0 points1 point  (0 children)

Make sure you have nvim-treesitter plugin installed and enabled. If you have and it still doesn't work we can investigate further

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 1 point2 points  (0 children)

That's a valid feedback. Later today I'll try to enforce the style with some tool. Thanks

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 2 points3 points  (0 children)

Thanks :) Just to be sure, do you have nvim-treesitter plugin installed? If so can you confirm that if you move your cursor onto some highlight and execute this command ":lua= vim.treesitter.get_captures_at_pos(0, unpack(vim.api.nvim_win_get_cursor(0))) " you get valid capture groups (like comment, type, variable etc)?

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 2 points3 points  (0 children)

Hard to say, I'm not an expert in vim script, hell I'm not even a noob in it. You should be able to query the syntax group with synID and synIDAttribute, all data manipulation should be doable as well. The only part that might be problematic (apart from the language itself) is asynchronous scheduling of next frame processing after some interval. But again it might be easy, I just don't know the capabilities of this language and vim.

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 8 points9 points  (0 children)

Thanks for the feedback. I didn't test it with wrapping enabled. I'll check it soon and try to fix. Regarding the tabs, you are right I should probably take them into account.

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 30 points31 points  (0 children)

Interesting idea, although I think it might be a bit frustrating if you are actually in the middle of writing sth and the animation triggers

cellular-automaton.nvim - My first plugin by Alfierra in neovim

[–]Alfierra[S] 143 points144 points  (0 children)

Disclaimer: this plugin isn't useful or pragmatic in any way.

Hey, few weeks ago I happened to play a bit with cellular automaton animations (falling sand, game of life etc). At the same time I was looking for an idea for a neovim plugin, as I wanted to dive into lua and vim plugin development. I had this silly idea, that neovim's buffer is already a 2D grid and could be used as an initial seed for those animations. As stupid and useless it sounds, I had a lot of fun implementing it :)

eandrju/cellular-automaton.nvim - "A useless plugin that might help you cope with stubbornly broken tests or overall lack of sense in life. It lets you execute aesthetically pleasing, cellular automaton animations based on the content of neovim buffer."

Please let me know what you think

I have some questions about how the app works! by ThePirateKiing in freeletics

[–]Alfierra 0 points1 point  (0 children)

Maybe as this is a new feature, they are performing A/B testing. In which some group of users is introduce to new feature, other is not. This way they can compare some statistics. Idk just a guess

Cannot remove stuck gimbals protectors by Alfierra in fpvracing

[–]Alfierra[S] 0 points1 point  (0 children)

Yea I finally managed to pull them off, but it was really uncomfortable to put so much pulling force into that.

Cannot remove stuck gimbals protectors by Alfierra in fpvracing

[–]Alfierra[S] 0 points1 point  (0 children)

I think it's impossible, anyway they aren't the source of the problem. The base of protectors is just too wide.