rhysd / NyaoVim

Web-enhanced Extensible Neovim Frontend
Other
2.22k stars 57 forks source link

[Question] How to change the font size dynamically? #109

Open haifengkao opened 7 years ago

haifengkao commented 7 years ago

I would like to have different font sizes for different monitors. It's tedious to change nyaovimrc.html everytime.

Expected Behavior

In console type

document.getElementById('nyaovim-editor').fontSize = 25;

the font size in the editor windows should be changed.

Actual Behavior

nothing happened.

Steps to Reproduce (including precondition)

Your Environment

Nymphium commented 6 years ago

I've just created a plugin to do. https://github.com/Nymphium/nyaovim-dynfont