Giter Club home page Giter Club logo

Comments (9)

pixelbreaker avatar pixelbreaker commented on May 18, 2024 1

I found that => wasn't working with language-jsx package, then I discovered language-babel which is a much better package anyway, so just switched to that.

from firacode.

lbguilherme avatar lbguilherme commented on May 18, 2024

Try with plaintext (without a syntax highlighter).
Works fine for me.

from firacode.

MadcapJake avatar MadcapJake commented on May 18, 2024

Also works for me. Did you add:

atom-text-editor {
  text-rendering: optimizeLegibility;
}

to your styles.less file?

from firacode.

ioquatix avatar ioquatix commented on May 18, 2024

Yes.

from firacode.

MadcapJake avatar MadcapJake commented on May 18, 2024

Ok, while working on some language grammars, I discovered something that might be at the root of your problem: the ligatures only capture if the underlying html span element contains both characters to be ligaturized. Some language grammars fail to fully capture multi-char operators instead choosing to allow a big list of operator characters to capture them. This means that, to the editor, it's actually a - operator next to a > operator (in whatever language you are using). So, to determine if this is the issue, try another language file (maybe even a few), try just an empty plain text file, or try other ligatures (especially ones with characters that aren't operators). If that is the issue, then there is nothing that this project can do and you need to post an issue in the language's atom syntax highlighter repo.

from firacode.

ioquatix avatar ioquatix commented on May 18, 2024

@MadcapJake ah yeah it looks exactly like that.

from firacode.

mamenama avatar mamenama commented on May 18, 2024

I added a commit to PR atom/language-ruby#113 which will address this issue (for Ruby at least). If there are other languages which need it, let me know and I can try to add it to them too (though I must admit I'm mostly familiar with Ruby grammar)

from firacode.

ioquatix avatar ioquatix commented on May 18, 2024

Awesome, I think I'll close this issue now since it's obviously not a problem with FiraCode but the Ruby syntax definition.

from firacode.

kalifg avatar kalifg commented on May 18, 2024

I can't seem to see any ligatures in php files, although I do see a limited set in javascript files

from firacode.

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.