Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/TheLeoP/fern-renderer-web-devicons.nvim

🌿 fern.vim plugin which adds file type icon through nvim-tree/nvim-web-devicons
https://github.com/TheLeoP/fern-renderer-web-devicons.nvim

fern-vim-plugin

Last synced: about 1 month ago
JSON representation

🌿 fern.vim plugin which adds file type icon through nvim-tree/nvim-web-devicons

Awesome Lists containing this project

README

        

# 🌿 fern-renderer-devicons.vim

[![fern renderer](https://img.shields.io/badge/🌿%20fern-plugin-yellowgreen)](https://github.com/lambdalisue/fern.vim)

[fern.vim](https://github.com/lambdalisue/fern.vim) plugin to add file type icons through [nvim-tree/nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons).

## Requirements

Mandatory:

- [nvim-tree/nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons)
- Patched font
- [Nerd Fonts](https://www.nerdfonts.com/)
- [Cica](https://github.com/miiton/Cica)
- [Others](https://github.com/ryanoasis/nerd-fonts#patched-fonts)

Optional:

- [lambdalisue/glyph-palette.vim](https://github.com/lambdalisue/glyph-palette.vim) - Apply individual colors on icons

## Usage

Set `g:fern#renderer` to `"nvim-web-devicons"` like:

```vim
let g:fern#renderer = "nvim-web-devicons"
```

Or using lua:

```lua
vim.g["fern#renderer"] = "nvim-web-devicons"
```
## FAQ

### How to use [lambdalisue/glyph-palette.vim](https://github.com/lambdalisue/glyph-palette.vim)

See their [usage section](https://github.com/lambdalisue/glyph-palette.vim#usage)

### How to add individual colors to the icons?

Set `g:glyph_palette#palette` like:

```vim
let g:glyph_palette#palette = v:lua.require'fr-web-icons'.palette()
```

Or using lua:

```lua
vim.g["glyph_palette#palette"] = require'fr-web-icons'.palette()
```