Coder Social home page Coder Social logo

html inline style colors about vim-css-color HOT 5 CLOSED

ap avatar ap commented on July 18, 2024
html inline style colors

from vim-css-color.

Comments (5)

ap avatar ap commented on July 18, 2024

I do not understand what you mean by “inline colouring”. Can you provide a screenshot of what is not getting highlighted and you wish it were?

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

sorry I was away for holiday, I'm gonna provide a screenshot as soon as I put my hands on a html file!
anyway I meant get coloring here:

<div style="color=black;">

that is inline, not external neither internal stylesheet, just on-the-fly embedded styling
thanks

from vim-css-color.

ap avatar ap commented on July 18, 2024

Ah.

I agree it would be useful but the solution does not really belong in this plugin. It is due to how the HTML syntax plugin embeds the CSS syntax plugin – so the issue should really be filed against the HTML syntax plugin.

I could try to hack something into vim-css-color, where it would colourise colour references inside style attribute values even without CSS syntax highlighting, but I don’t know how ugly that would be.

I’ll take a look at it sometime, but it’s not going to be high on my list of things to accomplish.

If anyone wants to provide a patch to jumpstart me, I’m open to that, though.

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

I'd provide a patch if I knew where to start....looks like a dead end, but now I know why it's not an easy fix.
thanks

from vim-css-color.

ap avatar ap commented on July 18, 2024

@alexrah: Now that I’ve learned more about the Vim syntax highlighter and after making a bunch of other changes, it’s finally become easy to add that, so I have. Share and enjoy!

from vim-css-color.

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.