Giter Site home page Giter Site logo

font-lock issues in v3? about web-mode HOT 10 CLOSED

fxbois avatar fxbois commented on July 22, 2024
font-lock issues in v3?

from web-mode.

Comments (10)

fxbois avatar fxbois commented on July 22, 2024

Have you take the last version (I add to do an other commit with strange errors)
If you have the last version, can you describe me how I can reproduce the bug

from web-mode.

vmalloc avatar vmalloc commented on July 22, 2024

I think I have the latest version (c6b3489).

I don't do anything special to reproduce it - creating an empty html with an element or two causes it...

from web-mode.

vmalloc avatar vmalloc commented on July 22, 2024

Here is what happens:
first

And then:
second

Anyways my full emacs config is available on my github, so if there's something there that triggers it (although I doubt it) you can give it a try...

from web-mode.

vmalloc avatar vmalloc commented on July 22, 2024

I traced it back to rainbow-mode. Having rainbow-mode on with V3 causes this, so I disabled it and it works fine now.

from web-mode.

 avatar commented on July 22, 2024

It seem that this happens after yasnippet expands a snippet.

from web-mode.

vmalloc avatar vmalloc commented on July 22, 2024

in my particular case yasnippet was not involved. Simple excluding rainbow-mode solved it for me.

from web-mode.

fxbois avatar fxbois commented on July 22, 2024

@ispinfx do you have rainbow-mode enabled ?
if not, have downloaded the last version (commited yesterday) ?
if yes, do you have a simple testcase that triggers the bug ?

from web-mode.

 avatar commented on July 22, 2024

@fxbois Thx, it works now, when will you put the newest version to elpa ? I'm keep using the elpa version.

I have one more question, in other major mode, after yasnippet expands a snippet, the new content will be colored immediately, but in web-mode, this will be done only after exiting yas-minor-mode completely(means finish all the yas fields).

Not really a issue, may be a optimization. :-)

from web-mode.

fxbois avatar fxbois commented on July 22, 2024

@ispinfx ... how did you manage to get it work ? disabling rainbow-mode ? updgrading ?

http://elpa.gnu.org/packages/ does not mention web-mode.el

from web-mode.

 avatar commented on July 22, 2024

@fxbois I'm not using rainbow-mode. I tried your last commit. I mean through elpa, M-x package-install, from http://melpa.milkbox.net/packages/. After I found the new version there several minutes ago.

from web-mode.

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.