Closed tomleo closed 8 years ago
Changing the font doesn't seem to have any effect. I tried both:
<style> /* CSS configurations here */ #nyaovim-editor: { font-family: "Input Mono", monospace; } </style>
And
<!-- Component tags here --> <neovim-editor id="nyaovim-editor" argv$="[[argv]]" font-size="8" font="Input Mono"></neovim-editor>
When I open up developer tools and look at the computed font-family it says "Times New Roman".
nvim
<neovim-editor> renders screen using <canvas> so we can't specify font face with CSS. Instead, attribute is available.
<neovim-editor>
<canvas>
Expected Behavior
Changing the font doesn't seem to have any effect. I tried both:
And
Actual Behavior
When I open up developer tools and look at the computed font-family it says "Times New Roman".
Steps to Reproduce (including precondition)
Your Environment
nvim
version: 0.1.5-dev