Oni: Ligature and cursorcolumn collide

Created on 22 Nov 2017  路  4Comments  路  Source: onivim/oni

When using cursorcolumn, ligatures sometimes get "broken up".

cursorcolumn-ligature-arrow

bug help wanted

Most helpful comment

Actually @badosu, the webgl renderer hasn't got ligatures yet so this won't be able to be tested quite yet.

I'll tag @Cryza who is working on the ligature support in the WebGL side of things, in case this needs any fixes on the renderer side (I expect not).

All 4 comments

Thanks for logging the issue, @topaxi !

Seems likely that it is a bug in our rendering layer here: https://github.com/onivim/oni/blob/master/browser/src/Renderer/CanvasRenderer.ts

If we split up the token rendering, that could break the ligature (potentially cursorcolumn could be related to this).

Just curious - is cursorcolumn set via your init.vim, or are you using the editor.cursorColumn setting in Oni's config.js?

Set via init.vim :)

@topaxi Can you try it with "editor.renderer": "webgl" on v0.3.4?

Actually @badosu, the webgl renderer hasn't got ligatures yet so this won't be able to be tested quite yet.

I'll tag @Cryza who is working on the ligature support in the WebGL side of things, in case this needs any fixes on the renderer side (I expect not).

Was this page helpful?
0 / 5 - 0 ratings