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

Add support for NerdFont glyphs #21

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tonesandtones
Copy link

@tonesandtones tonesandtones commented Aug 4, 2021

Added support for NerdFont glyphs. Implements issue #20

If the codepoint is known to be used by NerdFonts, then replace the standard message with one specific to NerdFonts:

  • Links to the NerdFonts cheat sheet page for the codepoint. For example, https://www.nerdfonts.com/cheat-sheet?set=f2a2 (nf-fa-assistive_listening_systems)
  • Uses a markdown code block to render the glyph. Markdown code blocks use the editor font instead of the system font. If you're working with NerdFonts codepoints then your editor font is likely to be a NerdFonts font and thus contains glyphs for the NF codepoints, whereas the system font is almost certainly not a NerdFonts font.

image

Added activation events for javascriptreact, typescriptreact, json, jsonc
Registered hover providers for all document schemes so they work in untitled tabs
Added generator app to generate glyph description data file from NerdFont CSS.
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

Successfully merging this pull request may close these issues.

1 participant