zed icon indicating copy to clipboard operation
zed copied to clipboard

[vim] block cursor does not render italic

Open llllvvuu opened this issue 4 months ago • 3 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

https://github.com/zed-industries/zed/assets/5601392/20ca87fb-154a-4aa9-8dee-e09a03e521cd

Tested Vim Mode, Catppuccin Theme, Operator Mono font. But any theme/font with italic should work.

Environment

Zed: v0.124.8 (Zed) OS: macOS 14.2.0 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

llllvvuu avatar Mar 04 '24 04:03 llllvvuu

@llllvvuu how did you get the cursor to be in block? is there a setting you need to configure?

Imgkl avatar Mar 04 '24 07:03 Imgkl

@Imgkl I guess it's vim mode.

TENX-S avatar Mar 04 '24 08:03 TENX-S

@TENX-S oh right, that makes sense. Thanks.

Imgkl avatar Mar 04 '24 08:03 Imgkl

@llllvvuu Do you still encounter this issue in the latest version?

weartist avatar Apr 06 '24 10:04 weartist

Zed 0.129.2 still has the issue.

I reproduced it with a free font in case that's easier:

{
  "theme": "Catppuccin Macchiato",
  "telemetry": {
    "diagnostics": false,
    "metrics": false
  },
  "buffer_font_size": 12,
  "vim_mode": true,
  "ui_font_family": "JuliaMono",
  "buffer_font_family": "JuliaMono",
  "terminal": {
    "dock": "right",
    "font_family": "Iosevka Term"
  }
}

llllvvuu avatar Apr 06 '24 21:04 llllvvuu

Zed 0.129.2 still has the issue.

I reproduced it with a free font in case that's easier:

{
  "theme": "Catppuccin Macchiato",
  "telemetry": {
    "diagnostics": false,
    "metrics": false
  },
  "buffer_font_size": 12,
  "vim_mode": true,
  "ui_font_family": "JuliaMono",
  "buffer_font_family": "JuliaMono",
  "terminal": {
    "dock": "right",
    "font_family": "Iosevka Term"
  }
}

Thanks for the configuration! I reproduced, I'll try to fix this

weartist avatar Apr 07 '24 03:04 weartist