onefetch icon indicating copy to clipboard operation
onefetch copied to clipboard

Add support for nerd font glyphs in languages info

Open Localghost385 opened this issue 1 year ago • 4 comments
trafficstars

Add support for nerd font glyphs in languages info

#1308 to do with this issue

far from finalized, but a decent chunk of it is done. any language missing a special icon just uses the circle one.

I haven't added any test coverage, but all previous tests complete.

Not missing icons

  • Ada: "\uE6B5" 
  • Arduino: "\uF34B" 
  • Assembly: "\uE6AB" 
  • Bash: "\uEBCA" 
  • C: "\uE61E" 
  • Clojure: "\uE768" 
  • CoffeeScript: "\uE751" 
  • ColdFusion: "\uE645" 
  • Cpp: "\uE61D" 
  • Crystal: "\uE62F" 
  • CSharp: "\uE648" 
  • Css: "\uE749" 
  • D: "\uE7AF" 
  • Dart: "\uE64C" 
  • Dockerfile: "\uF308" 
  • Elisp: "\uE632" 
  • Elixir: "\uE62D" 
  • Elm: "\uE62C" 
  • Emojicode: "\uf1044" 󱁄
  • Erlang: "\uE7B1" 
  • Fish: "\uEE41" 
  • FortranLegacy: "\U000f121a" 󱈚
  • FortranModern: "\U000f121a" 󱈚
  • FSharp: "\uE7A7" 
  • GdScript: "\uE65F" 
  • Go: "\uE627" 
  • Graphql: "\ue662" 
  • Groovy: "\uE775" 
  • Haskell: "\uE777" 
  • Haxe: "\uE666" 
  • HolyC: "\uE61E" 
  • Html: "\uE736" 
  • Java: "\uE738" 
  • JavaScript: "\uF2EE" 
  • Json: "\ueb0f" 
  • Jsx: "\uF2EE" 
  • Julia: "\uE624" 
  • Kotlin: "\uE634" 
  • Lisp: "\uE6B0" 
  • Lua: "\uE620" 
  • Makefile: "\uE673" 
  • Markdown: "\uE73E" 
  • Nim: "\uE677" 
  • Nix: "\uf313" 󱄅
  • OCaml: "\uE67A" 
  • Org: "\uE633" 
  • Perl: "\uE67E" 
  • Php: "\U000f031f" 󰌟
  • PowerShell: "\U000f0a0a" 󰨊
  • Prolog: "\uE7A1" 
  • PureScript: "\uE630" 
  • Python: "\uE73C" 
  • R: "\uE68A" 
  • Ruby: "\uE739" 
  • Rust: "\uE7A8" 
  • Sass: "\uE74B" 
  • Scala: "\uE737" 
  • Scheme: "\uE6B1" 
  • Sh: "\U000f1183" 󱆃
  • Sql: "\uE737" 
  • Svelte: "\uE697" 
  • Svg: "\U000f0721" 󰜡
  • Swift: "\uE755" 
  • SystemVerilog: "\uF4BC" 
  • Tcl: "\ue7c4" 
  • Tex: "\uE69B" 
  • Toml: "\uE6B2" 
  • Tsx: "\uE69D" 
  • TypeScript: "\uE69D" 
  • Verilog: "\uF4BC" 
  • Vhdl: "\uF4BC" 
  • VimScript: "\uE7C5" 
  • Vue: "\uE6A0" 
  • WebAssembly: "\uE6A1" 
  • Xaml: "\U000f0673" 󰙳
  • Xml: "\U000f05c0" 󰗀
  • XSL: "\U000f05c0" 󰗀
  • Yaml: "\uE6A8" 
  • Zig: "\uE6A9" 
  • Zsh: "\U000f1183" 󱆃

Missing icons

  • Abap:
  • ABNF:
  • Agda:
  • AutoHotKey:
  • Ceylon:
  • CMake:
  • Coq:
  • Forth:
  • Glsl:
  • Hcl:
  • Hlsl:
  • Idris:
  • Jsonnet:
  • Jupyter:
  • LLVM:
  • ObjectiveC:
  • Odin:
  • Oz:
  • Pascal:
  • Perl6:
  • Processing:
  • Protobuf:
  • Qml:
  • Racket:
  • Renpy:
  • Solidity:
  • Vala:
  • VisualBasic:
  • Wolfram:

Localghost385 avatar Aug 16 '24 19:08 Localghost385

the failed check is an extra space. I didn't think it was worth another commit.

Localghost385 avatar Aug 16 '24 19:08 Localghost385

Looks pretty good so far! If you're planning on pushing up more commits, could you mark this as draft? And then mark it as ready when you're done.

spenserblack avatar Aug 16 '24 19:08 spenserblack

Do these changes warrant a new test?

Localghost385 avatar Aug 16 '24 22:08 Localghost385

@spenserblack is there anything else i can do for this? Sorry to bother you if not.

Localghost385 avatar Aug 22 '24 01:08 Localghost385

Thanks for implementing this feature, it works really nice! Few of the missing icons are on https://github.com/devicons/devicon/ project that will be merged into Nerd Fonts soon(TM), so when new NF version is released will be available to use.

hasecilu avatar Aug 31 '24 22:08 hasecilu

That's great news! Please keep us posted @hasecilu

o2sh avatar Sep 01 '24 08:09 o2sh

@o2sh I can keep the icons up to date as they are added, it might also be a good idea to have a better place to track missing icons than this pr.

Localghost385 avatar Sep 01 '24 10:09 Localghost385

Sure @Localghost385, you can create a tracking issue and pin it.

o2sh avatar Sep 01 '24 10:09 o2sh