fern.vim plugin to add file type icons through nvim-tree/nvim-web-devicons.
Mandatory:
- nvim-tree/nvim-web-devicons
- Patched font
Optional:
- lambdalisue/glyph-palette.vim - Apply individual colors on icons
Set g:fern#renderer
to "nvim-web-devicons"
like:
let g:fern#renderer = "nvim-web-devicons"
Or using lua:
vim.g["fern#renderer"] = "nvim-web-devicons"
How to use lambdalisue/glyph-palette.vim
See their usage section
Set g:glyph_palette#palette
like:
let g:glyph_palette#palette = v:lua.require'fr-web-icons'.palette()
Or using lua:
vim.g["glyph_palette#palette"] = require'fr-web-icons'.palette()