Git Product home page Git Product logo

Comments (6)

rktjmp avatar rktjmp commented on July 30, 2024

Are you able to provide a small example of how you're doing things?

Are you mixing gui= and bold=true etc? That's not recommended but if you are we can discuss ergonomic improvements perhaps.

If I define my group TabLine { fg = red }, the underline is removed as expected, if I inherit from it I can set gui="" or gui="NONE" to clear any that I do intentionally set. If I never define TabLine I can't inherit from it so that seems like a non-factor.

Perhaps there are groups that naturally link to tabline, or I guess text inside a tabline?

Having trouble reproducing or understanding the issue.

from lush.nvim.

ndreas avatar ndreas commented on July 30, 2024

I wonder if it's due to the way I build my theme. I use TabLine { bg = dark_grey, fg = grey }, and then I build using a custom Shipwright file. The build uses require("shipwright/transform/lush").to_vimscript which to my eyes does not respect NONE here: https://github.com/rktjmp/lush.nvim/blob/main/lua/shipwright/transform/lush/to_vimscript.lua#L42

from lush.nvim.

ndreas avatar ndreas commented on July 30, 2024

Files are here: https://gitlab.com/ndreas/vim-config/-/tree/main/lua/ndreas-theme
I don't use Lush dynamically, but rather build my theme into colors/.

from lush.nvim.

rktjmp avatar rktjmp commented on July 30, 2024

Ah yes, the vimscript exporter is kind of "best effort", not surprised to see it have a rough edge.

Previously, if gui was not set, it would end up as gui=NONE in the viml

https://github.com/rktjmp/lush.nvim/blame/0517452a74fe25f6a62cacb75e4b25bb1dcb2803/lua/shipwright/transform/lush/to_vimscript.lua#L53-L55

Can you try the fix-91 branch, I think that will do what you want and restore the old behaviour.

from lush.nvim.

ndreas avatar ndreas commented on July 30, 2024

Yep it works great!

from lush.nvim.

rktjmp avatar rktjmp commented on July 30, 2024

Fixed in 6923cce

Thanks for reporting the issue!

from lush.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.