Giter Club home page Giter Club logo

Comments (11)

famiu avatar famiu commented on August 17, 2024

could you put your config in a pastebin instead of that website, it's not working for me

from feline.nvim.

pyrox0 avatar pyrox0 commented on August 17, 2024

https://hastebin.com/atelolehun.lua

from feline.nvim.

famiu avatar famiu commented on August 17, 2024

Does the issue still occur if you remove the timer component?

from feline.nvim.

pyrox0 avatar pyrox0 commented on August 17, 2024

Yes it does

from feline.nvim.

famiu avatar famiu commented on August 17, 2024

I can't try out your config right now, but can you try putting your config inside the minimal_init.lua file and see if it works? I'm wondering if an external plugin is interfering with the config.

Also, be sure to run the minimal init with nvim --noplugin -u minimal_init.lua

from feline.nvim.

pyrox0 avatar pyrox0 commented on August 17, 2024

ok, it's an issue with how i define my config. when I put my config into the minimal init, it crashes.

from feline.nvim.

famiu avatar famiu commented on August 17, 2024

ok, it's an issue with how i define my config. when I put my config into the minimal init, it crashes.

Hmm, one thing I noticed is that you're defining fg and bg twice, once through the colors table and once through the default_fg and default_bg options. Maybe try removing one of them?

from feline.nvim.

pyrox0 avatar pyrox0 commented on August 17, 2024

That does not fix the problem.

from feline.nvim.

famiu avatar famiu commented on August 17, 2024

That does not fix the problem.

Okay so, 4 things:

  1. While defining some of the colors, you didn't put a '#' before the RGB hex
  2. You didn't initialize the 'bufnames' table of the force_inactive property
  3. vim.loop.new_timer is a function, so you have to call it. But afaik, timers can't return values so you still can't use it as a component, so remove that component altogether.
  4. Although this isn't going to cause an error, you still defined fg and bg twice as I mentioned earlier, so remove that too.

After doing all that, Feline should work

from feline.nvim.

pyrox0 avatar pyrox0 commented on August 17, 2024

The problem was that I did not initialize the bufnames table. I fixed everything else though, so that should help. and I tested the vim.loop.new_timer loop before I implemented it, and it worked. So IDK, maybe different behavior in 0.6.

from feline.nvim.

famiu avatar famiu commented on August 17, 2024

The problem was that I did not initialize the bufnames table. I fixed everything else though, so that should help. and I tested the vim.loop.new_timer loop before I implemented it, and it worked. So IDK, maybe different behavior in 0.6.

So I assume the issue is fixed for you? In that case, you should close this

from feline.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.