Git Product home page Git Product logo

Comments (6)

pocco81 avatar pocco81 commented on August 16, 2024 1

Good idea! I'll add it ASAP :)

from nvim.

pocco81 avatar pocco81 commented on August 16, 2024 1

Okay so now TSFunction will follow the styles from function and TSKewordFunction will follow the styles from keywords in the settings.

from nvim.

luissolanodev avatar luissolanodev commented on August 16, 2024

Hey! I have another use case:
I would like all the keywords to be bold and italic, while I would like the function names to be just italic. For that I set my config like this:
image
But I'm getting this result:
image

As you can see, functions are italic as expected but the keyword 'function' is not bold, just italic. So I think there should be a distinction between TSFunction and TSKeywordFunction highlights to get the 'function' keyword right.

from nvim.

luissolanodev avatar luissolanodev commented on August 16, 2024

And also, speaking of keywords, what about conditionals? shouldn't 'if' and 'else' be part of the keywords group? and what about loops? haha I may be getting too abroad with this but I think it's a semantic thing and adds the possibility to have all these keywords around our code with a different and very nice looking.

What do you think? I could do a PR if needed.

from nvim.

pocco81 avatar pocco81 commented on August 16, 2024

Oh those keywords are bright red... But perhaps athor colors might look good...? I was thinking about changing some of the colors actually (keywords and loops mostly), but I'm not sure which one(s) might look appealing.

Which color(s) would you recommend?

What do you think? I could do a PR if needed.

Feel free to contribute. Help is always much appreciated :)

from nvim.

pocco81 avatar pocco81 commented on August 16, 2024

TSInclude:

image

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