Giter Club home page Giter Club logo

Comments (2)

Finii avatar Finii commented on June 9, 2024

Scribus seems to handle this correctly.
This is only when the red squiggels are there?

My VScode font setup is below, but I can not get these red things to appear, which language is that?

What I noticed is that the new ligs are 'backwards', while usually they are 'forward', hmm, but that should not make any difference.

image

image

from monaspace.

TehPers avatar TehPers commented on June 9, 2024

@Finii Yes, it's only when there are red squigglies. It renders fine when there is no error being reported, and even in some other language when red squiggles are present. I'm using a Rust project. Should be possible to repro using a fresh project, after running cargo new.

Full repro:

  1. If you don't already have Rust setup, there may be a system package for it, or you could look at https://rustup.rs/ to get the toolchain.
  2. Setup vscode with the rust-lang.rust-analyzer extension.
  3. Run cargo new --bin monaspace-test to create a new project, and open that folder with vscode.
  4. In src/main.rs, write use crate:::foo; and save.
  5. Move cursor into the colons:

image

My relevant editor settings are:

{
  "editor.fontFamily": "'Monaspace Neon', Consolas, 'Courier New', monospace",
  "editor.fontLigatures": "'calt', 'liga', 'ss01', 'ss02', 'ss03', 'ss06', 'ss07'",
}

I was also able to confirm the issue happening with only the ss07 ligatures enabled ("editor.fontLigatures": "'ss07'"), and with only the above two editor settings enabled.

This is on Windows 11 23H2 using Monaspace Neon v1.101 (I double-checked the installed version) and vscode 1.89.1. Interestingly, this doesn't happen with TypeScript errors:

image

I'm not completely sure why this specifically happens with Rust. It may be where the errors are being marked by rust-analyzer. Here's the full list of problems it's reporting, if that's relevant:

image

I'm also wondering if this is an issue specifically with how vscode renders the text when squigglies are involved. To be honest, I don't even know how to begin debugging this kind of problem, or I'd try to offer more direction. If you do try the repro steps, let me know if you're unable to reproduce it.

from monaspace.

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.