https://github.com/shadowwa/coc-nerdfonts
Nerdfonts completion source of coc.nvim.
https://github.com/shadowwa/coc-nerdfonts
coc-extension coc-nvim neovim nerdfonts vim
Last synced: 2 months ago
JSON representation
Nerdfonts completion source of coc.nvim.
- Host: GitHub
- URL: https://github.com/shadowwa/coc-nerdfonts
- Owner: shadowwa
- License: mit
- Created: 2024-05-09T09:43:51.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-09T18:23:29.000Z (12 months ago)
- Last Synced: 2024-10-19T11:12:32.305Z (6 months ago)
- Topics: coc-extension, coc-nvim, neovim, nerdfonts, vim
- Language: JavaScript
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Coc Nerdfonts
[Nerdfonts](https://www.nerdfonts.com/) completion source of [coc.nvim](https://github.com/neoclide/coc.nvim).
Find nerdfonts icon without looking up to the cheatsheet website.
## Install
```vim
:CocInstall coc-nerdfonts
```## Configuration
To complete nerdfonts source, type `nf-` as trigger pattern.
It is also possible to change the nerdfonts trigger pattern by putting
`"coc.source.nerdfonts.triggerPatterns": ["TRIGGERPATTERN"]` in your `coc-settings.json`By default this source is only activated for markdown file, you can add other filetype by putting
`"coc.source.nerdfonts.filetypes": ["FILETYPE1", "FILETYPE2"]` in your `coc-settings.json`## Update nerdfonts
To update the dictionary file:
```bash
ruby nerdfontslist.rb
```Based on the [coc-emoji](https://github.com/neoclide/coc-sources/) extension.