Comments (9)
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.
Try with plaintext (without a syntax highlighter).
Works fine for me.
from firacode.
Also works for me. Did you add:
atom-text-editor {
text-rendering: optimizeLegibility;
}
to your styles.less
file?
from firacode.
Yes.
from firacode.
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.
@MadcapJake ah yeah it looks exactly like that.
from firacode.
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.
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.
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)
- How to disable the HTML self-closing tag's (/>) ligature HOT 2
- Ligatures involving double colon ("::") and an angle bracket are misaligned HOT 1
- Ligature request: {{ HOT 1
- Floor symbos are swapped. HOT 3
- Subset to disable all non-obvious ligatures HOT 3
- one, two, and three dot ellipsis not aligned HOT 1
- Ligature priority in `->->` HOT 2
- Ligature request: `=?` and `=?=` HOT 1
- Possible OF Licence violation by another party? HOT 1
- Bug in FiraCode-Bold.ttf name HOT 2
- Releases HOT 2
- There appear to be some display errors with 'ss09'. HOT 2
- Request: Display different stars `*` in different contexts
- Ligature for 8< HOT 1
- Language-specific: PHP HOT 5
- openSUSE Repo HOT 1
- iOS supports please? HOT 2
- v2 heights were much better in a terminal with background colors HOT 2
- Linux bootstrap script fails on both outdated and newish distros HOT 1
- [Proposal] Improve the aesthetics of underscores (adjust width and vertical alignment)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firacode.