Giter Site home page Giter Site logo

glyph-palette.vim's Introduction

๐ŸŽจ 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.

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.

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 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

Provide us your nice screenshots!

Special thanks

An initial implementation has written by @zeorin at ryanoasis/vim-devicons#158

glyph-palette.vim's People

Contributors

lambdalisue avatar milly avatar get-me-power avatar creativenull avatar yuki-yano avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.