Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
haifengkao opened this issue Dec 27, 2016 · 1 comment
Open

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

haifengkao opened this issue Dec 27, 2016 · 1 comment

Comments

@haifengkao
Copy link
Contributor

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)

  • open developer console
  • type
document.getElementById('nyaovim-editor').fontSize = 25;

Your Environment

  • OS: OSX 10.11
  • NyaoVim version: 0.0.22
  • nvim version: 0.2.0-dev
@Nymphium
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants