ruby-syntax-tree/vscode-syntax-tree

Bracket decorators aren't properly sized

devonpmack opened this issue · 4 comments

The brackets are not sized correctly for the font.

image

Yeah they're intentionally small. Though in that font they look like they're a little below the line which is weird. But they're supposed to be small to not get misinterpreted as real parentheses.

@kddnewton Should we center them on the line?

You can control that in your editor in the settings - you can set a font, size, padding, all kinds of stuff. I think we just want to provide the content in this plugin.

Oddly the inlay font size doesn't seem to work on them, not sure why :/

I think that makes sense to just provide the content but it'd be nice to have strong defaults.