lambdalisue
vim-glyph-palette
Vim Script

๐ŸŽจ An universal palette for Nerd Fonts

Last updated Mar 1, 2026
132
Stars
16
Forks
5
Issues
0
Stars/day
Attention Score
23
Language breakdown
No language data available.
โ–ธ Files click to expand
README

๐ŸŽจ glyph-palette

Support Vim 8.1 or above Support Neovim 0.4 or above MIT License Doc

glyph-palette

glyph-palette (Glyph palette) is a plugin to universally apply colors on [Nerd Fonts][].

With this plugin, the following (and potentially more) Nerd Fonts integrations will be nicely highlighted.

  • [vim-devicons][]
  • [vim-nerdfont][]
  • [vim-fern-renderer-nerdfont][]
  • [fall.vim][]
[nerd fonts]: https://github.com/ryanoasis/nerd-fonts [vim-devicons]: https://github.com/ryanoasis/vim-devicons [vim-nerdfont]: https://github.com/lambdalisue/vim-nerdfont [vim-fern-renderer-nerdfont]: https://github.com/lambdalisue/vim-fern-renderer-nerdfont [fall.vim]: https://github.com/vim-fall/fall.vim

Usage

First of all, make sure that you are using one of [Nerd Fonts][] patched fonts (e.g. Fonts in Patched Fonts or [Cica][] for Japanese). Visit [Nerd Fonts][] homepage for more detail.

[cica]: https://github.com/miiton/Cica

After that, call glyph_palette#apply() function on a target buffer like:

augroup my-glyph-palette
  autocmd! *
  autocmd FileType fern call glyph_palette#apply()
  autocmd FileType fall-list call glyph_palette#apply()
  autocmd FileType nerdtree,startify call glyph_palette#apply()
augroup END

Then glyphs in g:glyph_palette#palette on the buffer will be highlighted by predefined highlight groups.

See :help glyph-palette-usage for more details

Screenshots

With nerdfont.vim + fern.vim + fern-renderer-nerdfont.vim

With nerdfont.vim + fern.vim + fern-renderer-nerdfont.vim

With fall.vim

With fall.vim

Provide us your nice screenshots!

Special thanks

An initial implementation has written by @zeorin at https://github.com/ryanoasis/vim-devicons/issues/158

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท lambdalisue/vim-glyph-palette ยท Updated daily from GitHub