tonsky / FiraCode

Free monospaced font with programming ligatures
SIL Open Font License 1.1
76.9k stars 3.09k forks source link

Disable `<-` #787

Open goodmind opened 5 years ago

goodmind commented 5 years ago

This just looks weird in Flow image

I didn't found how to edit and build it myself

tonsky commented 5 years ago

Okay thanks!

unclechu commented 5 years ago

But it looks as expected in Haskell. Would a fix for this remove <- completely?

tonsky commented 5 years ago

Yes, it’s one or the other. I have not decided on removing it yet, but I might. It mainly depends on relative popularity of Flow and Haskell

goodmind commented 5 years ago

I would prefer different ligatures for different languages, like in Iosevka

unclechu commented 5 years ago

@tonsky Maybe the right thing would be to add separated builds for specific programming languages? If <- were removed it stops make sense to use it with Haskell anymore.

tonsky commented 5 years ago

It is not possible right now, but I hope to have separate build for languages in the future

steebchen commented 5 years ago

<- should not be disabled in my opinion, it looks great when using channels in Go:

Selection_374

Kharacternyk commented 5 years ago

<- is the assignment operator in F#. It's a major usage case, IMHO.

tonsky commented 5 years ago

With Haskell, Go and F# I think Flow is overruled. I’ll keep it in the font until I have a way to do per-language builds. Thanks everyone!

RubenVerg commented 5 years ago

@tonsky Just asking, based on what can't u?

RubenVerg commented 5 years ago

If there's one branch, there can be infinite (well kinda). What editor do you use for fonts?

tonsky commented 5 years ago

Just asking, based on what can't u?

I don’t undestand the question

What editor do you use for fonts?

Glyphs

RubenVerg commented 5 years ago

I don’t undestand the question

If there is like 1 branch, you can create another with different glyphs, I think, right?

Glyphs

And is it free?

akiirui commented 5 years ago

Easy way, turn off ligatures at Editor.

goodmind commented 5 years ago

@akiirui is it per-glyph or turns off all of them

akiirui commented 5 years ago

@akiirui is it per-glyph or turns off all of them

Emmmm, sorry bro. is all of them. But wanna disable <- for now, turn off ligatures.

In VSC:

    "editor.fontLigatures": true,
    "[flow]": {
        "editor.fontLigatures": false
    }

It's not perfect answer of course. Waiting for a way to do per-language builds. 😉

ghost commented 4 years ago

With Haskell, Go and F# I think Flow is overruled. I’ll keep it in the font until I have a way to do per-language builds. Thanks everyone!

so far, the uses for <- where the ligature is favorable seems to be situations where it’s surrounded by white-space. possibly do the thing you did with disjunction and conjunction ligatures

tonsky commented 4 years ago

possibly do the thing you did with disjunction and conjunction ligatures

It didn’t really worked. Editors split text by tokens and spaces, and inside that region there’s no way to tell what came before: letter/symbol or whitespace.

euf commented 3 years ago

It's worth noting that <- is the assignment operator in R, so it is used like in every expression. Please don't remove this ligature by default ❤️

Cons-Cat commented 3 years ago

GUI Emacs makes it simple to use different combinations of ligatures for different programming languages (at least with ligature.el).