Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/theleop/fern-renderer-web-devicons.nvim
- Owner: TheLeoP
- License: mit
- Created: 2022-11-07T19:23:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T20:54:17.000Z (over 1 year ago)
- Last Synced: 2024-08-07T18:45:45.739Z (5 months ago)
- Topics: fern-vim-plugin
- Language: Vim Script
- Homepage:
- Size: 33.2 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()
```